Integrated: 8280546: Remove hard-coded 127.0.0.1 loopback address

Liam Miller-Cushon cushon at openjdk.java.net
Wed Jan 26 17:43:40 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 pull request has now been integrated.

Changeset: b5de2cc9
Author:    Liam Miller-Cushon <cushon at openjdk.org>
URL:       https://git.openjdk.java.net/jdk/commit/b5de2cc9d36e1fad7d0bf70f7c83ff829e16b7f3
Stats:     5 lines in 2 files changed: 3 ins; 0 del; 2 mod

8280546: Remove hard-coded 127.0.0.1 loopback address

Reviewed-by: mullan

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

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



More information about the security-dev mailing list