JDK-8230858 : Replace wildcard address with loopback or local host in tests - part 23
  • Type: Sub-task
  • Component: core-libs
  • Sub-Component: java.net
  • Priority: P3
  • Status: Resolved
  • Resolution: Fixed
  • Submitted: 2019-09-11
  • Updated: 2023-11-08
  • Resolved: 2019-09-12
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
JDK 11 JDK 14
11.0.21-oracleFixed 14 b15Fixed
Related Reports
Duplicate :  
Relates :  
Description
This issue fixes tests to use the loopback address whenever possible. It also fixes some safe publishing issues, or add diagnostics in some of the tests.

Adding diagnostic:
test/jdk/java/net/CookieHandler/CookieManagerTest.java
test/jdk/java/net/Socket/HttpProxy.java
test/jdk/java/net/Socket/NullHost.java

Fixing use of wildcard:
test/jdk/sun/net/www/http/KeepAliveCache/B5045306.java
test/jdk/sun/net/www/protocol/https/HttpsClient/ServerIdentityTest.java
test/jdk/sun/net/www/protocol/https/HttpsURLConnection/DNSIdentities.java
test/jdk/sun/net/www/protocol/https/HttpsURLConnection/IPAddressDNSIdentities.java
test/jdk/sun/net/www/protocol/https/HttpsURLConnection/IPAddressIPIdentities.java
test/jdk/sun/net/www/protocol/https/HttpsURLConnection/IPIdentities.java
test/jdk/sun/net/www/protocol/https/HttpsURLConnection/Identities.java
test/jdk/sun/net/www/protocol/https/HttpsURLConnection/ImpactOnSNI.java
test/jdk/sun/net/www/protocol/https/NewImpl/JavaxHostnameVerifier.java 
test/jdk/sun/net/www/protocol/jar/B4957695.java
Comments
Fix request [11u] I backport this for parity with 11.0.21-oracle. No risk, only a test change. Clean backport. Tests pass. SAP nightly testing passed.
07-11-2023

A pull request was submitted for review. URL: https://git.openjdk.org/jdk11u-dev/pull/2269 Date: 2023-11-07 11:05:59 +0000
07-11-2023

Git URL: https://github.com/openjdk/jdk/commit/e9eaba3d538fcd2d8b5642f227433d69faef2552
06-11-2023

URL: https://hg.openjdk.java.net/jdk/jdk/rev/5302477c8285 User: dfuchs Date: 2019-09-12 14:49:46 +0000
12-09-2019