RFR: 8280546: Remove hard-coded 127.0.0.1 loopback address

Sean Mullan mullan at openjdk.java.net
Wed Jan 26 15:51:29 UTC 2022


On Tue, 25 Jan 2022 03:39:54 GMT, Liam Miller-Cushon <cushon at openjdk.org> wrote:

> This change replaces hard-coded 127.0.0.1 loopback addresses with `InetAddress.getLoopbackAddress().getHostAddress()`, to allow the tests to work on IPv6-only systems. This matches the approach of previous fixes in [JDK-8220083](https://bugs.openjdk.java.net/browse/JDK-8220083).

This looks fine to me. Please change the JBS bug component to "security-libs" as these tests are in the security area.

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

Marked as reviewed by mullan (Reviewer).

PR: https://git.openjdk.java.net/jdk/pull/7209



More information about the security-dev mailing list