RFR: 8306940: test/jdk/java/net/httpclient/XxxxInURI.java should call HttpClient::close [v2]

Daniel Fuchs dfuchs at openjdk.org
Thu Apr 27 08:45:25 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.

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

  Update test/jdk/java/net/httpclient/EscapedOctetsInURI.java
  
  Review suggestion accepted
  
  Co-authored-by: Daniel Jelinski <djelinski1 at gmail.com>

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

Changes:
  - all: https://git.openjdk.org/jdk/pull/13673/files
  - new: https://git.openjdk.org/jdk/pull/13673/files/9a143f3c..a1988527

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

  Stats: 1 line in 1 file changed: 0 ins; 0 del; 1 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