Details
-
Bug
-
Resolution: Fixed
-
P4
-
14
-
b27
Backports
Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-8316794 | 11.0.22-oracle | Ramesh Gangadhar | P4 | Resolved | Fixed | b01 |
JDK-8320882 | 11.0.22 | Andrew Lu | P4 | Resolved | Fixed | b05 |
Description
java/net/DatagramSocket/PortUnreachable.java fails intermittently with:
----------System.err:(31/2089)----------
java.net.BindException: Address already in use (Bind failed)
at java.base/java.net.PlainDatagramSocketImpl.bind0(Native Method)
at java.base/java.net.AbstractPlainDatagramSocketImpl.bind(AbstractPlainDatagramSocketImpl.java:111)
at java.base/java.net.DatagramSocket.bind(DatagramSocket.java:395)
at java.base/java.net.DatagramSocket.<init>(DatagramSocket.java:245)
at java.base/java.net.DatagramSocket.<init>(DatagramSocket.java:302)
at PortUnreachable.recreateServerSocket(PortUnreachable.java:76)
at PortUnreachable.serverSend(PortUnreachable.java:55)
at PortUnreachable.execute(PortUnreachable.java:156)
at PortUnreachable.main(PortUnreachable.java:170)
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$AgentVMRunnable.run(MainActionHelper.java:298)
at java.base/java.lang.Thread.run(Thread.java:830)
java.net.SocketTimeoutException: Receive timed out
at java.base/java.net.PlainDatagramSocketImpl.peekData(Native Method)
at java.base/java.net.DatagramSocket.receive(DatagramSocket.java:749)
at PortUnreachable.execute(PortUnreachable.java:161)
at PortUnreachable.main(PortUnreachable.java:170)
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$AgentVMRunnable.run(MainActionHelper.java:298)
at java.base/java.lang.Thread.run(Thread.java:830)
----------System.err:(31/2089)----------
java.net.BindException: Address already in use (Bind failed)
at java.base/java.net.PlainDatagramSocketImpl.bind0(Native Method)
at java.base/java.net.AbstractPlainDatagramSocketImpl.bind(AbstractPlainDatagramSocketImpl.java:111)
at java.base/java.net.DatagramSocket.bind(DatagramSocket.java:395)
at java.base/java.net.DatagramSocket.<init>(DatagramSocket.java:245)
at java.base/java.net.DatagramSocket.<init>(DatagramSocket.java:302)
at PortUnreachable.recreateServerSocket(PortUnreachable.java:76)
at PortUnreachable.serverSend(PortUnreachable.java:55)
at PortUnreachable.execute(PortUnreachable.java:156)
at PortUnreachable.main(PortUnreachable.java:170)
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$AgentVMRunnable.run(MainActionHelper.java:298)
at java.base/java.lang.Thread.run(Thread.java:830)
java.net.SocketTimeoutException: Receive timed out
at java.base/java.net.PlainDatagramSocketImpl.peekData(Native Method)
at java.base/java.net.DatagramSocket.receive(DatagramSocket.java:749)
at PortUnreachable.execute(PortUnreachable.java:161)
at PortUnreachable.main(PortUnreachable.java:170)
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$AgentVMRunnable.run(MainActionHelper.java:298)
at java.base/java.lang.Thread.run(Thread.java:830)
Attachments
Issue Links
- backported by
-
JDK-8316794 java/net/DatagramSocket/PortUnreachable.java still fails intermittently with BindException
- Resolved
-
JDK-8320882 java/net/DatagramSocket/PortUnreachable.java still fails intermittently with BindException
- Resolved
- relates to
-
JDK-8249812 java/net/DatagramSocket/PortUnreachable.java still fails intermittently with SocketTimeoutException
- Resolved
-
JDK-8223465 Replace wildcard address with loopback or local host in tests - part 3
- Resolved
-
JDK-8230435 Replace wildcard address with loopback or local host in tests - part 22
- Resolved
(2 links to)