< prev index next >
test/jdk/com/sun/nio/sctp/SctpMultiChannel/SendFailed.java
Print this page
rev 59383 : [mq]: final
@@ -1,7 +1,7 @@
/*
- * Copyright (c) 2015, 2019, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2015, 2020, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License version 2 only, as
* published by the Free Software Foundation.
@@ -42,20 +42,15 @@
static final int[] bufferSizes =
{ 20, 49, 50, 51, 100, 101, 1024, 1025, 4095, 4096, 4097, 8191, 8192, 8193};
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);
System.out.println("Note, remote address should not be up");
< prev index next >