[jdk17u-dev] Integrated: 8294916: Cancelling a request must eventually cause its response body subscriber to be unregistered

Goetz Lindenmaier goetz at openjdk.org
Wed Jun 25 08:02:02 UTC 2025


On Mon, 23 Jun 2025 12:53:58 GMT, Goetz Lindenmaier <goetz at openjdk.org> wrote:

> I backport this for parity with 17.0.17-oracle.
> 
> the change itself applied clean.  The tests needed some 
> changes to work:
> 
> test/jdk/java/net/httpclient/CancelStreamedBodyTest.java
> A new test that lacks the changes of later change JDK-8295944
> that was already backported.
> 
> test/jdk/java/net/httpclient/SmallTimeout.java
> The test calls close() of ExecutorService which is a method
> introduced after jdk17.  I implemented the functionality 
> locally in the test.

This pull request has now been integrated.

Changeset: 4b40f900
Author:    Goetz Lindenmaier <goetz at openjdk.org>
URL:       https://git.openjdk.org/jdk17u-dev/commit/4b40f900f47af62d7c0072b65e1c6bc3e9985ef1
Stats:     666 lines in 9 files changed: 641 ins; 1 del; 24 mod

8294916: Cancelling a request must eventually cause its response body subscriber to be unregistered

Reviewed-by: rschmelter
Backport-of: dcd46501e6a25ac875d61bfbd412555b933ce34c

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

PR: https://git.openjdk.org/jdk17u-dev/pull/3669


More information about the jdk-updates-dev mailing list