RFR: 8376479: Http3 test server thread deadlock in ThrowingPublishersInRequest [v2]

Daniel Fuchs dfuchs at openjdk.org
Tue Jan 27 19:11:01 UTC 2026


On Tue, 27 Jan 2026 17:10:57 GMT, Daniel Jeliński <djelinski at openjdk.org> wrote:

>> test/jdk/java/net/httpclient/lib/jdk/httpclient/test/lib/http3/Http3ServerStreamImpl.java line 371:
>> 
>>> 369:         public void close() throws IOException {
>>> 370:             if (closed) return;
>>> 371:             closed = true;
>> 
>> these lines should be protected by the lock.
>
> I don't think it's needed. The worst thing that could happen is that we will log twice.

and add EOF twice

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

PR Review Comment: https://git.openjdk.org/jdk/pull/29448#discussion_r2733443550


More information about the net-dev mailing list