RFR: 8307626: java/net/httpclient/FlowAdapter* tests should close the HttpClient instances

Jaikiran Pai jpai at openjdk.org
Thu May 11 05:56:44 UTC 2023


On Wed, 10 May 2023 16:19:00 GMT, Daniel Fuchs <dfuchs at openjdk.org> wrote:

> java/net/httpclient/FlowAdapterPublisherTest.java and java/net/httpclient/FlowAdapterSubscriberTest.java create one HttpClient instance per test method. The test should use try-with-resources to close the client instances.

This looks OK to me.

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

Marked as reviewed by jpai (Reviewer).

PR Review: https://git.openjdk.org/jdk/pull/13909#pullrequestreview-1421800555


More information about the net-dev mailing list