[jdk11u-dev] RFR: 8223737: HostsFileNameService doesn't handle IPv6 literal addresses correctly

Amos Shi ashi at openjdk.org
Tue Jun 11 21:57:21 UTC 2024


On Fri, 26 Apr 2024 00:11:51 GMT, Amos Shi <ashi at openjdk.org> wrote:

> Backport of [JDK-8223737](https://bugs.openjdk.org/browse/JDK-8223737), dependency of [JDK-8314517](https://bugs.openjdk.org/browse/JDK-8314517)
> 
> Testing
> - Local: Test passed on `MacOS 14.4.1`
>   - `InternalNameServiceWithHostsFileTest.java`: Test results: passed: 1
> - Pipeline: All checks have passed
> - Testing Machine: SAP nightlies passed on `2024-04-27`
>   - Automated jtreg test: jtreg_jdk_tier2
>   - `java/net/InetAddress/InternalNameServiceWithHostsFileTest.java`: SUCCESSFUL GitHub 📊⏲ - [2,513 msec]

This PR is for [JDK-8223737](https://bugs.openjdk.org/browse/JDK-8223737), which is a real JDK code change
It is the dependency of [JDK-8314517](https://bugs.openjdk.org/browse/JDK-8314517), which is a test case backport

So add this real JDK change to OpenJDK 11 for a test case is not a good idea, if the [JDK-8223737](https://bugs.openjdk.org/browse/JDK-8223737) itself is not required.

We will close this PR.

-------------

PR Comment: https://git.openjdk.org/jdk11u-dev/pull/2683#issuecomment-2161664211


More information about the jdk-updates-dev mailing list