RFR: 8352431: java/net/httpclient/EmptyAuthenticate.java uses "localhost"

Volkan Yazici vyazici at openjdk.org
Wed Apr 9 11:17:50 UTC 2025


Overhauls `EmptyAuthenticate` to

- Test all supported HTTP versions (i.e., HTTP/1.1 and HTTP/2)
- Test both clear-text and SSL
- Use `HttpServerAdapters.HttpTestServer::create` to avoid host-related problems

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

Commit messages:
 - Overhaul `EmptyAuthenticate`

Changes: https://git.openjdk.org/jdk/pull/24542/files
  Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=24542&range=00
  Issue: https://bugs.openjdk.org/browse/JDK-8352431
  Stats: 121 lines in 1 file changed: 82 ins; 19 del; 20 mod
  Patch: https://git.openjdk.org/jdk/pull/24542.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/24542/head:pull/24542

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


More information about the net-dev mailing list