git: openjdk/jdk21u-dev: master: 8316580: HttpClient with StructuredTaskScope does not close when a task fails

Alexey Bakhtin abakhtin at openjdk.org
Wed Mar 19 16:46:15 UTC 2025


Changeset: d8291f59
Branch: master
Author:    Alexey Bakhtin <abakhtin at openjdk.org>
Date:      2025-03-19 16:43:27 +0000
URL:       https://git.openjdk.org/jdk21u-dev/commit/d8291f593762ab270bf05643b87c57578d716242

8316580: HttpClient with StructuredTaskScope does not close when a task fails

Reviewed-by: andrew
Backport-of: fc98998627443d6e73ac70661f47f48b30525712

! src/java.net.http/share/classes/jdk/internal/net/http/HttpClientImpl.java
! src/java.net.http/share/classes/jdk/internal/net/http/MultiExchange.java
+ test/jdk/java/net/httpclient/HttpGetInCancelledFuture.java
! test/jdk/java/net/httpclient/ReferenceTracker.java



More information about the jdk-updates-changes mailing list