[jdk21u-dev] RFR: 8316580: HttpClient with StructuredTaskScope does not close when a task fails

Andrew John Hughes andrew at openjdk.org
Tue Mar 18 22:31:06 UTC 2025


On Wed, 19 Feb 2025 22:34:41 GMT, Alexey Bakhtin <abakhtin at openjdk.org> wrote:

> Please review the backport of JDK-8316580
> 
> The backport is almost clean, with an exception for src/java.net.http/share/classes/jdk/internal/net/http/MultiExchange.java
> The manual merge is required for MultiExchange::cancel(boolean mayInterruptIfRunning) because of no 8310330 in JDK21
> 
> All jtreg tests for java.net.httpclient are passed

Backport looks good. The differing code in 8310330 is all removed by this patch anyway.

Please apply for approval.

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

Marked as reviewed by andrew (Reviewer).

PR Review: https://git.openjdk.org/jdk21u-dev/pull/1416#pullrequestreview-2696455633


More information about the jdk-updates-dev mailing list