RFR: 8306940: test/jdk/java/net/httpclient/XxxxInURI.java should call HttpClient::close
Daniel Fuchs
dfuchs at openjdk.org
Wed Apr 26 16:16:01 UTC 2023
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
More information about the net-dev
mailing list