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

java/nio/channels/etc/PrintSupportedOptions.java and java/nio/channels/DatagramChannel/AfterDisconnect.java are failing

    XMLWordPrintable

    Details

    • Subcomponent:
    • Resolved In Build:
      b21

      Description

      jdk/net/ExtendedSocketOption/DontFragmentTest.java is also failing due to this.

      java/nio/channels/etc/PrintSupportedOptions.java:

      ----------System.out:(30/711)----------
      java.nio.channels.SocketChannel[unconnected]
       SO_SNDBUF -> 131072
       SO_OOBINLINE -> false
       SO_KEEPALIVE -> false
       SO_REUSEADDR -> false
       SO_REUSEPORT -> false
       IP_TOS -> 0
       TCP_KEEPINTERVAL -> 75
       TCP_NODELAY -> false
       TCP_KEEPIDLE -> 7200
       SO_RCVBUF -> 131072
       SO_LINGER -> -1
       TCP_KEEPCOUNT -> 8
      sun.nio.ch.ServerSocketChannelImpl[unbound]
       SO_REUSEADDR -> true
       SO_REUSEPORT -> false
       TCP_KEEPINTERVAL -> 75
       TCP_KEEPIDLE -> 7200
       SO_RCVBUF -> 131072
       TCP_KEEPCOUNT -> 8
      sun.nio.ch.DatagramChannelImpl@6a051b3a
       SO_SNDBUF -> 65507
       IP_MULTICAST_IF -> null
       SO_REUSEADDR -> false
       SO_REUSEPORT -> false
       IP_MULTICAST_LOOP -> true
       IP_TOS -> 0
       SO_BROADCAST -> false
       SO_RCVBUF -> 786896
       IP_MULTICAST_TTL -> 1
      ----------System.err:(18/1230)----------
      java.lang.UnsupportedOperationException: unsupported socket option
      at jdk.net/jdk.net.MacOSXSocketOptions.getIpDontFragment0(Native Method)
      at jdk.net/jdk.net.MacOSXSocketOptions.getIpDontFragment(MacOSXSocketOptions.java:88)
      at jdk.net/jdk.net.ExtendedSocketOptions.getIpDontFragment(ExtendedSocketOptions.java:366)
      at jdk.net/jdk.net.ExtendedSocketOptions$1.getOption(ExtendedSocketOptions.java:307)
      at java.base/sun.nio.ch.Net.getSocketOption(Net.java:470)
      at java.base/sun.nio.ch.DatagramChannelImpl.getOption(DatagramChannelImpl.java:443)
      at PrintSupportedOptions.test(PrintSupportedOptions.java:66)
      at PrintSupportedOptions.main(PrintSupportedOptions.java:52)
      at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:104)
      at java.base/java.lang.reflect.Method.invoke(Method.java:578)
      at com.sun.javatest.regtest.agent.MainWrapper$MainThread.run(MainWrapper.java:127)
      at java.base/java.lang.Thread.run(Thread.java:828)



      java/nio/channels/DatagramChannel/AfterDisconnect.java:

      ----------System.out:(51/3210)----------
      Test with default
      Test with IPv6 socket
      Test with IPv4 socket
      test AfterDisconnect.execute(): failure
      java.lang.UnsupportedOperationException: unsupported socket option
      at jdk.net/jdk.net.MacOSXSocketOptions.getIpDontFragment0(Native Method)
      at jdk.net/jdk.net.MacOSXSocketOptions.getIpDontFragment(MacOSXSocketOptions.java:88)
      at jdk.net/jdk.net.ExtendedSocketOptions.getIpDontFragment(ExtendedSocketOptions.java:366)
      at jdk.net/jdk.net.ExtendedSocketOptions$1.getOption(ExtendedSocketOptions.java:307)
      at java.base/sun.nio.ch.Net.getSocketOption(Net.java:470)
      at java.base/sun.nio.ch.DatagramChannelImpl.getOption(DatagramChannelImpl.java:443)
      at java.base/sun.nio.ch.DatagramChannelImpl.repairSocket(DatagramChannelImpl.java:1357)
      at java.base/sun.nio.ch.DatagramChannelImpl.disconnect(DatagramChannelImpl.java:1311)
      at AfterDisconnect.testLocalAddress(AfterDisconnect.java:114)
      at AfterDisconnect.test(AfterDisconnect.java:93)
      at AfterDisconnect.execute(AfterDisconnect.java:86)


        Attachments

          Issue Links

            Activity

              People

              Assignee:
              michaelm Michael McMahon
              Reporter:
              dfuchs Daniel Fuchs
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: