RFR: 8327989: java/net/httpclient/ManyRequest.java should not use "localhost" in URIs [v2]

Daniel Fuchs dfuchs at openjdk.org
Tue Mar 12 16:37:26 UTC 2024


> 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.

Daniel Fuchs has updated the pull request incrementally with one additional commit since the last revision:

  Copyright update

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

Changes:
  - all: https://git.openjdk.org/jdk/pull/18239/files
  - new: https://git.openjdk.org/jdk/pull/18239/files/2c6ec79a..9b82022d

Webrevs:
 - full: https://webrevs.openjdk.org/?repo=jdk&pr=18239&range=01
 - incr: https://webrevs.openjdk.org/?repo=jdk&pr=18239&range=00-01

  Stats: 1 line in 1 file changed: 0 ins; 0 del; 1 mod
  Patch: https://git.openjdk.org/jdk/pull/18239.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/18239/head:pull/18239

PR: https://git.openjdk.org/jdk/pull/18239


More information about the net-dev mailing list