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

Ralf Schmelter rschmelter at openjdk.org
Tue Jun 24 15:02:40 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.

Looks good.

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

Marked as reviewed by rschmelter (Reviewer).

PR Review: https://git.openjdk.org/jdk17u-dev/pull/3669#pullrequestreview-2954253726


More information about the jdk-updates-dev mailing list