RFR: 8353662: Add test for non-local file URL fallback to FTP [v2]

Eirik Bjørsnøs eirbjo at openjdk.org
Fri Apr 4 10:28:59 UTC 2025


On Fri, 4 Apr 2025 10:19:29 GMT, Daniel Fuchs <dfuchs at openjdk.org> wrote:

> The URL should not assume that the loopback is an IPv4 address. Or is this handled by the proxy?

Right. The following returns "127.0.0.1" for me, would that be the correct API to use?

`InetAddress.getLoopbackAddress().getHostAddress()`

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

PR Review Comment: https://git.openjdk.org/jdk/pull/24418#discussion_r2028548480


More information about the net-dev mailing list