-
Bug
-
Resolution: Fixed
-
P4
-
9
-
b138
-
Not verified
Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-8305986 | 8u381 | kiran kumar J | P4 | Resolved | Fixed | b02 |
java/net/Socket/InheritHandle.java fails intermittently with BindException
----------System.out:(3/132)----------
First ServerSocket listening on port 49529
waiting...
Now close the socket and try to create another one listening on the same port
----------System.err:(13/715)----------
java.lang.RuntimeException: Failed: java.net.BindException: Address already in use
at InheritHandle.startTest(InheritHandle.java:94)
at InheritHandle.main(InheritHandle.java:48)
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.lang.RuntimeException
----------System.out:(3/132)----------
First ServerSocket listening on port 49529
waiting...
Now close the socket and try to create another one listening on the same port
----------System.err:(13/715)----------
java.lang.RuntimeException: Failed: java.net.BindException: Address already in use
at InheritHandle.startTest(InheritHandle.java:94)
at InheritHandle.main(InheritHandle.java:48)
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.lang.RuntimeException
- backported by
-
JDK-8305986 java/net/Socket/InheritHandle.java fails intermittently with "Address already in use"
- Resolved