Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8267353

java/net/SctpSanity.java fails due to Protocol not supported

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: P4 P4
    • None
    • 17
    • core-libs

      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)

            jiefu Jie Fu
            jiefu Jie Fu
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: