Integrated: 8306940: test/jdk/java/net/httpclient/XxxxInURI.java should call HttpClient::close

Daniel Fuchs dfuchs at openjdk.org
Thu Apr 27 08:46:23 UTC 2023


On Wed, 26 Apr 2023 15:51:27 GMT, Daniel Fuchs <dfuchs at openjdk.org> wrote:

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

This pull request has now been integrated.

Changeset: 41d58533
Author:    Daniel Fuchs <dfuchs at openjdk.org>
URL:       https://git.openjdk.org/jdk/commit/41d58533aca29d439db264540e85c4fa165f19f6
Stats:     384 lines in 3 files changed: 180 ins; 59 del; 145 mod

8306940: test/jdk/java/net/httpclient/XxxxInURI.java should call HttpClient::close

Reviewed-by: jpai, djelinski

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

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


More information about the net-dev mailing list