RFR: 8297200: java/net/httpclient/SpecialHeadersTest.java failed once in AssertionError due to selector thread remaining alive [v4]

Jaikiran Pai jpai at openjdk.org
Tue Nov 29 01:38:06 UTC 2022


On Mon, 28 Nov 2022 16:52:42 GMT, Daniel Fuchs <dfuchs at openjdk.org> wrote:

> start() is called from within the HttpClientImpl constructor, so if Thread::start fails I don't think it will be possible to get such a client - since the constructor will throw. So it doesn't matter much anyway.

During yesterday's review I overlooked that we do indeed throw back the exception if thread start() fails and don't just set a flag. So yes, there's nothing more to do there.

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

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


More information about the net-dev mailing list