> 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 with a new target base due to a
merge or a rebase. The incremental webrev excludes the unrelated changes
brought in by the merge/rebase. The pull request contains 17 additional commits
since the last revision:
- Merge remote-tracking branch 'upstream/master' into firstValueAsLong
- Close connection after `Content-Length` read failure in `Http1Response`
- Insert the redundant `Http3Stream` assert back
- Introduce dangling `firstValueAsLong("content-length")` calls back
- Document `Http1Response::ignoreBody`
- Remove redundant `finally`
- Use `-1` as default in `Http3ExchangeImpl`
- Use `readStatusCode()` in `Http3Stream`
- Replace `orElse(null)` with `Optional` usage
- Address review remarks
- ... and 7 more: https://git.openjdk.org/jdk/compare/1d684a33...02803082
-------------
Changes:
- all: https://git.openjdk.org/jdk/pull/28431/files
- new: https://git.openjdk.org/jdk/pull/28431/files/024e355f..02803082
Webrevs:
- full: https://webrevs.openjdk.org/?repo=jdk&pr=28431&range=06
- incr: https://webrevs.openjdk.org/?repo=jdk&pr=28431&range=05-06
Stats: 54778 lines in 842 files changed: 36124 ins; 14480 del; 4174 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