Integrated: 8327989: java/net/httpclient/ManyRequest.java should not use "localhost" in URIs
Daniel Fuchs
dfuchs at openjdk.org
Wed Mar 13 11:25:18 UTC 2024
On Tue, 12 Mar 2024 15:21:27 GMT, Daniel Fuchs <dfuchs at openjdk.org> wrote:
> Please find here a trivial test fix that removes usage of "localhost" from ManyRequest.java.
> Use of "localhost" in test URIs is problematic as it leaves the test open to random failure when running on machines that have custom mappings for "localhost". The fix is to use the IP literal of the loopback address instead.
This pull request has now been integrated.
Changeset: da4dd7c0
Author: Daniel Fuchs <dfuchs at openjdk.org>
URL: https://git.openjdk.org/jdk/commit/da4dd7c008da4be54ee5f58d1ac19f440fd2a74e
Stats: 2 lines in 1 file changed: 0 ins; 0 del; 2 mod
8327989: java/net/httpclient/ManyRequest.java should not use "localhost" in URIs
Reviewed-by: jpai, djelinski, gli
-------------
PR: https://git.openjdk.org/jdk/pull/18239
More information about the net-dev
mailing list