[jdk17u-dev] RFR: 8342075: HttpClient: improve HTTP/2 flow control checks

Alexey Bakhtin abakhtin at openjdk.org
Fri Aug 1 20:14:02 UTC 2025


On Tue, 29 Jul 2025 11:01:12 GMT, Goetz Lindenmaier <goetz at openjdk.org> wrote:

> I backport this for parity with 17.0.17-oracle.
> 
> src/java.net.http/share/classes/jdk/internal/net/http/Stream.java
> Two trivial resolves due to context.
> 
> src/java.net.http/share/classes/jdk/internal/net/http/WindowUpdateSender.java
> 
> Resolved because 8308310: HttpClient: Avoid logging or locking from within synchronized blocks
> is not in 17.
> 
> src/java.net.http/share/classes/module-info.java
> Omitted, as "8296804: Document HttpClient configuration properties in java.net.http module-info"
> is not in 17.  The CSR for 17 documents that this is dropped.
> 
> Follow ups are on the list of backports I will do.
> Blocking changes all already in 17.
> 
> I had to adapt ConnectionFlowControlTest.java and StreamFlowControlTest.java because HttpClient does not
> implement AutoClosable / shutdownNow() / close() in 17.
> I also amended the @build instructions in StreamFlowControlTest.java.

Thank you for the backport! The changes look good to me

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

Marked as reviewed by abakhtin (Reviewer).

PR Review: https://git.openjdk.org/jdk17u-dev/pull/3786#pullrequestreview-3080450532


More information about the jdk-updates-dev mailing list