RFR: 8266900: java/net/httpclient/ShortResponseBody.java fails on windows with java.io.IOException: Unable to establish loopback connection [v2]
Daniel Fuchs
dfuchs at openjdk.org
Thu Oct 20 17:22:56 UTC 2022
On Thu, 20 Oct 2022 16:05:35 GMT, Daniel Jeliński <djelinski at 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
More information about the net-dev
mailing list