JDK-8198871 : java/net/MulticastSocket/Promiscuous.java intermittent failed with socket closed
  • Type: Bug
  • Component: core-libs
  • Sub-Component: java.net
  • Affected Version: 11
  • Priority: P4
  • Status: Resolved
  • Resolution: Duplicate
  • OS: windows
  • CPU: generic
  • Submitted: 2018-03-01
  • Updated: 2022-08-23
  • Resolved: 2018-03-29
Related Reports
Duplicate :  
Description
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
Comments
Duplicate of JDK-8200304.
29-03-2018