-
Bug
-
Resolution: Fixed
-
P4
-
9
-
b138
-
Not verified
Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-8305949 | 8u381 | kiran kumar J | P4 | Resolved | Fixed | b02 |
java/net/MulticastSocket/TimeToLive.java fails intermittently with BindException.
Test uses hardcode port:
MulticastSocket socket = new MulticastSocket(6789);
Failure log:
----------System.err:(17/949)----------
java.net.BindException: Address already in use
at java.net.PlainDatagramSocketImpl.bind0(Native Method)
at java.net.AbstractPlainDatagramSocketImpl.bind(AbstractPlainDatagramSocketImpl.java:94)
at java.net.DatagramSocket.bind(DatagramSocket.java:394)
at java.net.MulticastSocket.<init>(MulticastSocket.java:172)
at java.net.MulticastSocket.<init>(MulticastSocket.java:136)
at TimeToLive.main(TimeToLive.java:40)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:502)
at com.sun.javatest.regtest.agent.MainActionHelper$SameVMRunnable.run(MainActionHelper.java:218)
at java.lang.Thread.run(Thread.java:745)
JavaTest Message: Test threw exception: java.net.BindException
JavaTest Message: shutting down test
result: Failed. Execution failed: `main' threw exception: java.net.BindException: Address already in use
Test uses hardcode port:
MulticastSocket socket = new MulticastSocket(6789);
Failure log:
----------System.err:(17/949)----------
java.net.BindException: Address already in use
at java.net.PlainDatagramSocketImpl.bind0(Native Method)
at java.net.AbstractPlainDatagramSocketImpl.bind(AbstractPlainDatagramSocketImpl.java:94)
at java.net.DatagramSocket.bind(DatagramSocket.java:394)
at java.net.MulticastSocket.<init>(MulticastSocket.java:172)
at java.net.MulticastSocket.<init>(MulticastSocket.java:136)
at TimeToLive.main(TimeToLive.java:40)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:502)
at com.sun.javatest.regtest.agent.MainActionHelper$SameVMRunnable.run(MainActionHelper.java:218)
at java.lang.Thread.run(Thread.java:745)
JavaTest Message: Test threw exception: java.net.BindException
JavaTest Message: shutting down test
result: Failed. Execution failed: `main' threw exception: java.net.BindException: Address already in use
- backported by
-
JDK-8305949 java/net/MulticastSocket/TimeToLive.java fails intermittently with "Address already in use"
- Resolved