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

java/net/MulticastSocket/SetLoopbackMode.java fails to receive datagram in loopback mode enabled

    XMLWordPrintable

Details

    • x86_64
    • linux_oracle

    Description


      OL9 IPv6 only configured system

      ----------messages:(7/383)----------
      command: main SetLoopbackMode
      reason: User specified action: run main/othervm SetLoopbackMode
      started: Thu May 18 18:38:29 ICT 2023
      Mode: othervm [/othervm specified]
      Additional options from @modules: --add-modules java.base --add-exports java.base/java.net=ALL-UNNAMED --add-opens java.base/java.net=ALL-UNNAMED
      finished: Thu May 18 18:38:31 ICT 2023
      elapsed time (seconds): 2.306
      ----------configuration:(5/139)----------
      Boot Layer
        add modules: java.base
        add exports: java.base/java.net ALL-UNNAMED
        add opens: java.base/java.net ALL-UNNAMED

      ----------System.out:(20/404)----------
      IPv6 can be used
      Default network interface: null

      Test will use multicast group: /ff01:0:0:0:0:0:0:1
      NetworkInterface.getByInetAddress(grp): null

      ******************

      Loopback mode is disabled.
      /[0:0:0:0:0:0:0:0]:49324
      Packet not received - correct.

      ******************

      Loopback mode is enabled.
      /[0:0:0:0:0:0:0:0]:49324
      Packet not received (packet excepted as loopback is enabled)

      ******************

      ----------System.err:(11/592)----------
      java.lang.RuntimeException: Test failed
      at SetLoopbackMode.main(SetLoopbackMode.java:146)
      at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:103)
      at java.base/java.lang.reflect.Method.invoke(Method.java:578)
      at com.sun.javatest.regtest.agent.MainWrapper$MainTask.run(MainWrapper.java:138)
      at java.base/java.lang.Thread.run(Thread.java:1592)

      JavaTest Message: Test threw exception: java.lang.RuntimeException: Test failed
      JavaTest Message: shutting down test

      STATUS:Failed.`main' threw exception: java.lang.RuntimeException: Test failed

      Attachments

        Activity

          People

            msheppar Mark Sheppard
            msheppar Mark Sheppard
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: