-
Sub-task
-
Resolution: Fixed
-
P3
-
13
-
b12
Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-8332907 | 11.0.25-oracle | Shivangi Gupta | P3 | Resolved | Fixed | b01 |
JDK-8319499 | 11.0.22 | Goetz Lindenmaier | P3 | Resolved | Fixed | b02 |
Some of the JDK networking tests use hard-coded 127.0.0.1, loopback address. This works on IPv4 or IPv6&IPv4 network. However, with IPv6-only network, those tests with hard-coded address fail. The following fix would work for IPv4, IPv6&IPv4, and IPv6-only environment:
- so = new Socket("127.0.0.1", port);
+ so = new Socket(InetAddress.getLoopbackAddress(), port);
- so = new Socket("127.0.0.1", port);
+ so = new Socket(InetAddress.getLoopbackAddress(), port);
- backported by
-
JDK-8319499 Remove hard-coded 127.0.0.1 loopback address in JDK networking tests
- Resolved
-
JDK-8332907 Remove hard-coded 127.0.0.1 loopback address in JDK networking tests
- Resolved