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

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

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: P4
    • Resolution: Duplicate
    • Affects Version/s: 17
    • Fix Version/s: None
    • Component/s: core-libs

      Description

      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)

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              jiefu Jie Fu
              Reporter:
              jiefu Jie Fu
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: