Details
-
Task
-
Resolution: Fixed
-
P4
-
None
-
b19
Backports
Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-8327447 | 17.0.12 | Goetz Lindenmaier | P4 | Resolved | Fixed | b01 |
JDK-8327291 | 17.0.11 | Goetz Lindenmaier | P4 | Resolved | Fixed | b06 |
Description
As part of test stabilization efforts the networking tests were updated to use loopback address as part of https://bugs.openjdk.org/browse/JDK-8222938
The tests in networking now consistently use loopback address wherever relevant. However, we do have some security policy files within the httpclient tests which use "localhost" instead of explicit loopback IP address. Using "localhost" in the URI also prevents testing with IPv6, as on some configuration "localhost" will resolve to an IPv4 address, even when java.net.preferIPv6Addresses is set.
This task is to update these security policy files to use loopback IP addresses.
The tests in networking now consistently use loopback address wherever relevant. However, we do have some security policy files within the httpclient tests which use "localhost" instead of explicit loopback IP address. Using "localhost" in the URI also prevents testing with IPv6, as on some configuration "localhost" will resolve to an IPv4 address, even when java.net.preferIPv6Addresses is set.
This task is to update these security policy files to use loopback IP addresses.
Attachments
Issue Links
- backported by
-
JDK-8327291 Use loopback IP addresses in security policy files of httpclient tests
- Resolved
-
JDK-8327447 Use loopback IP addresses in security policy files of httpclient tests
- Resolved
- relates to
-
JDK-8222938 Investigate which networking tests bind to the wildcard address, and whether they could be changed to bind to the loopback instead.
- Resolved
- links to
-
Commit openjdk/jdk17u/72881deb
-
Commit openjdk/jdk/646b666a
-
Review openjdk/jdk17u/390
-
Review openjdk/jdk/13444
(2 links to)