8075039: (sctp) com/sun/nio/sctp/SctpMultiChannel/SendFailed.java fails on Solaris only
Reviewed-by: chegar
This commit is contained in:
parent
49dec12116
commit
89c87896e2
@ -43,11 +43,16 @@ public class SendFailed {
|
||||
|
||||
void test(String[] args) throws IOException {
|
||||
SocketAddress address = null;
|
||||
String os = System.getProperty("os.name").toLowerCase();
|
||||
|
||||
if (!Util.isSCTPSupported()) {
|
||||
out.println("SCTP protocol is not supported");
|
||||
out.println("Test cannot be run");
|
||||
return;
|
||||
} else if (os.startsWith("sunos")) {
|
||||
out.println("Test not supported on Solaris");
|
||||
out.println("Test cannot be run");
|
||||
return;
|
||||
}
|
||||
|
||||
System.out.println("remote address: " + remoteAddress);
|
||||
|
Loading…
Reference in New Issue
Block a user