-
Bug
-
Resolution: Fixed
-
P4
-
11, 15, 17, 18, 19, 21
-
b25
-
x86_64
-
os_x_10.15
Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-8332951 | 21.0.5-oracle | Ramesh Gangadhar | P4 | Resolved | Fixed | b01 |
JDK-8334782 | 21.0.5 | Amos SHI | P4 | Resolved | Fixed | b01 |
JDK-8332953 | 17.0.13-oracle | Ramesh Gangadhar | P4 | Resolved | Fixed | b01 |
JDK-8335103 | 17.0.13 | Amos SHI | P4 | Resolved | Fixed | b01 |
JDK-8332952 | 11.0.25-oracle | Ramesh Gangadhar | P4 | Resolved | Fixed | b01 |
sun/security/ssl/SSLSocketImpl/ReuseAddr.java
on a macOS 10.15 machine.
Here's a snippet from the log file:
----------System.err:(23/1322)----------
java.net.BindException: Address already in use
at java.base/sun.nio.ch.Net.bind0(Native Method)
at java.base/sun.nio.ch.Net.bind(Net.java:491)
at java.base/sun.nio.ch.Net.bind(Net.java:480)
at java.base/sun.nio.ch.NioSocketImpl.bind(NioSocketImpl.java:643)
at java.base/java.net.ServerSocket.bind(ServerSocket.java:396)
at java.base/java.net.ServerSocket.<init>(ServerSocket.java:282)
at java.base/java.net.ServerSocket.<init>(ServerSocket.java:173)
at ReuseAddr.doServerSide(ReuseAddr.java:47)
at SSLSocketTemplate.startServer(SSLSocketTemplate.java:584)
at SSLSocketTemplate.bootup(SSLSocketTemplate.java:498)
at SSLSocketTemplate.run(SSLSocketTemplate.java:83)
at ReuseAddr.main(ReuseAddr.java:53)
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:832)
JavaTest Message: Test threw exception: java.net.BindException
JavaTest Message: shutting down test
----------System.out:(21/1316)----------
Try rebinding to same port: 49152
Server failed: java.net.BindException: Address already in use
java.net.BindException: Address already in use
at java.base/sun.nio.ch.Net.bind0(Native Method)
at java.base/sun.nio.ch.Net.bind(Net.java:491)
at java.base/sun.nio.ch.Net.bind(Net.java:480)
at java.base/sun.nio.ch.NioSocketImpl.bind(NioSocketImpl.java:643)
at java.base/java.net.ServerSocket.bind(ServerSocket.java:396)
at java.base/java.net.ServerSocket.<init>(ServerSocket.java:282)
at java.base/java.net.ServerSocket.<init>(ServerSocket.java:173)
at ReuseAddr.doServerSide(ReuseAddr.java:47)
at SSLSocketTemplate.startServer(SSLSocketTemplate.java:584)
at SSLSocketTemplate.bootup(SSLSocketTemplate.java:498)
at SSLSocketTemplate.run(SSLSocketTemplate.java:83)
at ReuseAddr.main(ReuseAddr.java:53)
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:832)
result: Failed. Execution failed: `main' threw exception: java.net.BindException: Address already in use
test result: Failed. Execution failed: `main' threw exception: java.net.BindException: Address already in use
- backported by
-
JDK-8332951 [macOS] SSLSocketImpl/ReuseAddr.java failed due to "BindException: Address already in use"
- Resolved
-
JDK-8332952 [macOS] SSLSocketImpl/ReuseAddr.java failed due to "BindException: Address already in use"
- Resolved
-
JDK-8332953 [macOS] SSLSocketImpl/ReuseAddr.java failed due to "BindException: Address already in use"
- Resolved
-
JDK-8334782 [macOS] SSLSocketImpl/ReuseAddr.java failed due to "BindException: Address already in use"
- Resolved
-
JDK-8335103 [macOS] SSLSocketImpl/ReuseAddr.java failed due to "BindException: Address already in use"
- Resolved
- links to
-
Commit openjdk/jdk17u-dev/a963e2d7
-
Commit openjdk/jdk21u-dev/d0e54e9f
-
Commit openjdk/jdk/6a353114
-
Review openjdk/jdk21u-dev/710
-
Review openjdk/jdk/19358
-
Review(master) openjdk/jdk17u-dev/2572