On Thu, 20 Oct 2022 16:05:35 GMT, Daniel Jeliński <djelin...@openjdk.org> wrote:
>> test/jdk/java/net/httpclient/ShortResponseBody.java line 706: >> >>> 704: @AfterTest >>> 705: public void teardown() throws Exception { >>> 706: if (sharedClient != null) sharedClient = null; >> >> should probably null `client` here? > > Not necessary. `client` is an instance field and will be GCed as soon as the > framework is done with the test. Right we don't use the ReferenceTracker here yet. Maybe we should (but that's for later). ------------- PR: https://git.openjdk.org/jdk/pull/10794