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

java/net/MulticastSocket/Promiscuous.java intermittent failed with socket closed

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: P4 P4
    • None
    • 11
    • core-libs
    • Windows

    • generic
    • windows

      Tier2 test java/net/MulticastSocket/Promiscuous.java intermittent failed with java.net.SocketException: socket closed, on Windows x64

      ----------System.out:(5/173)----------
      Using port: 54586
      mc1 joined the MC group: /224.7.8.9
      mc2 joined the MC group: /225.4.5.6
      Sending datagram to: /224.7.8.9/54586
      Received message as expected, /10.133.185.65
      ----------System.err:(16/947)----------
      java.net.SocketException: socket closed
      at java.base/java.net.TwoStacksPlainDatagramSocketImpl.peekData(Native Method)
      at java.base/java.net.DatagramSocket.receive(DatagramSocket.java:745)
      at Promiscuous.receive(Promiscuous.java:47)
      at Promiscuous.test(Promiscuous.java:95)
      at Promiscuous.main(Promiscuous.java:135)
      at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
      at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      at java.base/java.lang.reflect.Method.invoke(Method.java:564)
      at com.sun.javatest.regtest.agent.MainActionHelper$SameVMRunnable.run(MainActionHelper.java:229)
      at java.base/java.lang.Thread.run(Thread.java:841)

      JavaTest Message: Test threw exception: java.net.SocketException
      JavaTest Message: shutting down test

      result: Failed. Execution failed: `main' threw exception: java.net.SocketException: socket closed


      test result: Failed. Execution failed: `main' threw exception: java.net.SocketException: socket closed

            chegar Chris Hegarty
            jwang Joy Wang (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: