Mercurial > hg > openjdk > aarch64-port > jdk
changeset 10701:9cc009777b0b
8075039: (sctp) com/sun/nio/sctp/SctpMultiChannel/SendFailed.java fails on Solaris only
Reviewed-by: chegar
author | robm |
---|---|
date | Fri, 20 Mar 2015 17:07:15 +0000 |
parents | 9a7d2535db72 |
children | f54a505bb7d0 |
files | test/com/sun/nio/sctp/SctpMultiChannel/SendFailed.java |
diffstat | 1 files changed, 5 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/test/com/sun/nio/sctp/SctpMultiChannel/SendFailed.java Mon Oct 20 12:54:36 2014 -0400 +++ b/test/com/sun/nio/sctp/SctpMultiChannel/SendFailed.java Fri Mar 20 17:07:15 2015 +0000 @@ -43,11 +43,16 @@ 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);