[jdk17u-dev] RFR: 8342075: HttpClient: improve HTTP/2 flow control checks [v3]
Goetz Lindenmaier
goetz at openjdk.org
Tue Aug 5 09:43:45 UTC 2025
> 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.
Goetz Lindenmaier has refreshed the contents of this pull request, and previous commits have been removed. The incremental views will show differences compared to the previous content of the PR. The pull request contains one new commit since the last revision:
Merge branch 'master' into goetz_backport_8342075
-------------
Changes:
- all: https://git.openjdk.org/jdk17u-dev/pull/3786/files
- new: https://git.openjdk.org/jdk17u-dev/pull/3786/files/3349b52e..c86d9d24
Webrevs:
- full: https://webrevs.openjdk.org/?repo=jdk17u-dev&pr=3786&range=02
- incr: https://webrevs.openjdk.org/?repo=jdk17u-dev&pr=3786&range=01-02
Stats: 2 lines in 2 files changed: 1 ins; 0 del; 1 mod
Patch: https://git.openjdk.org/jdk17u-dev/pull/3786.diff
Fetch: git fetch https://git.openjdk.org/jdk17u-dev.git pull/3786/head:pull/3786
PR: https://git.openjdk.org/jdk17u-dev/pull/3786
More information about the jdk-updates-dev
mailing list