[jdk17u-dev] Integrated: 8342075: HttpClient: improve HTTP/2 flow control checks
Goetz Lindenmaier
goetz at openjdk.org
Thu Aug 14 11:18:25 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 based on the change in 21.
>
> 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.
This pull request has now been integrated.
Changeset: 4addb57d
Author: Goetz Lindenmaier <goetz at openjdk.org>
URL: https://git.openjdk.org/jdk17u-dev/commit/4addb57dd56b44f004580c37266cb511069e94e6
Stats: 1043 lines in 12 files changed: 1010 ins; 2 del; 31 mod
8342075: HttpClient: improve HTTP/2 flow control checks
Reviewed-by: rschmelter, abakhtin
Backport-of: 32ac3e713ea4370e496717967fff7de9450d2f69
-------------
PR: https://git.openjdk.org/jdk17u-dev/pull/3786
More information about the jdk-updates-dev
mailing list