-
Bug
-
Resolution: Duplicate
-
P4
-
None
-
17
This is on behalf of junjiwang@tencent.com
Execution failed: `main' threw exception: java.net.SocketException: Protocol not supported
As I tested "java/net/SctpSanity.java" on Linux x86-64, it failed and throws the following exceptions:
STDOUT:
STDERR:
java.net.SocketException: Protocol not supported
at jdk.sctp/sun.nio.ch.sctp.SctpNet.socket0(Native Method)
at jdk.sctp/sun.nio.ch.sctp.SctpNet.socket(SctpNet.java:81)
at jdk.sctp/sun.nio.ch.sctp.SctpChannelImpl.<init>(SctpChannelImpl.java:138)
at jdk.sctp/com.sun.nio.sctp.SctpChannel.open(SctpChannel.java:170)
at SctpSanity.testSctpChannel(SctpSanity.java:58)
at SctpSanity.main(SctpSanity.java:50)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.base/java.lang.reflect.Method.invoke(Method.java:568)
at com.sun.javatest.regtest.agent.MainWrapper$MainThread.run(MainWrapper.java:127)
at java.base/java.lang.Thread.run(Thread.java:831)
Execution failed: `main' threw exception: java.net.SocketException: Protocol not supported
As I tested "java/net/SctpSanity.java" on Linux x86-64, it failed and throws the following exceptions:
STDOUT:
STDERR:
java.net.SocketException: Protocol not supported
at jdk.sctp/sun.nio.ch.sctp.SctpNet.socket0(Native Method)
at jdk.sctp/sun.nio.ch.sctp.SctpNet.socket(SctpNet.java:81)
at jdk.sctp/sun.nio.ch.sctp.SctpChannelImpl.<init>(SctpChannelImpl.java:138)
at jdk.sctp/com.sun.nio.sctp.SctpChannel.open(SctpChannel.java:170)
at SctpSanity.testSctpChannel(SctpSanity.java:58)
at SctpSanity.main(SctpSanity.java:50)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.base/java.lang.reflect.Method.invoke(Method.java:568)
at com.sun.javatest.regtest.agent.MainWrapper$MainThread.run(MainWrapper.java:127)
at java.base/java.lang.Thread.run(Thread.java:831)
- duplicates
-
JDK-8267938 (sctp) SCTP channel factory methods should check platform support
- Resolved
- links to
-
Review openjdk/jdk/4199