RFR: 8369595: HttpClient: HttpHeaders.firstValueAsLong failures should be converted to ProtocolException [v4]

Volkan Yazici vyazici at openjdk.org
Wed Nov 26 09:35:55 UTC 2025


> Add guards against `HttpHeaders::firstValueAsLong` failures. `H3MalformedResponseTest` is overhauled – migrated to JUnit, reinforced with exception type tests, etc. – but not all `firstValueAsLong` changes are verified with new additional tests. `test/jdk/java/net/httpclient/` tests still do pass.

Volkan Yazici has updated the pull request incrementally with one additional commit since the last revision:

  Document `Http1Response::ignoreBody`

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

Changes:
  - all: https://git.openjdk.org/jdk/pull/28431/files
  - new: https://git.openjdk.org/jdk/pull/28431/files/0c384717..d2d9adfe

Webrevs:
 - full: https://webrevs.openjdk.org/?repo=jdk&pr=28431&range=03
 - incr: https://webrevs.openjdk.org/?repo=jdk&pr=28431&range=02-03

  Stats: 7 lines in 1 file changed: 5 ins; 0 del; 2 mod
  Patch: https://git.openjdk.org/jdk/pull/28431.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/28431/head:pull/28431

PR: https://git.openjdk.org/jdk/pull/28431


More information about the net-dev mailing list