The tests test/jdk/java/net/httpclient/*InURI.java create a lot of HttpClient instances. They should call HttpClient::close when the client is no longer needed.
The fix includes some cleanup of the test code, as well as an additional check on the response version. ------------- Commit messages: - 8306940 Changes: https://git.openjdk.org/jdk/pull/13673/files Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=13673&range=00 Issue: https://bugs.openjdk.org/browse/JDK-8306940 Stats: 383 lines in 3 files changed: 180 ins; 59 del; 144 mod Patch: https://git.openjdk.org/jdk/pull/13673.diff Fetch: git fetch https://git.openjdk.org/jdk.git pull/13673/head:pull/13673 PR: https://git.openjdk.org/jdk/pull/13673
