RFR: 8369595: HttpClient: HttpHeaders.firstValueAsLong failures should be converted to ProtocolException [v9]
Daniel Jeliński
djelinski at openjdk.org
Thu Dec 11 18:58:07 UTC 2025
On Thu, 11 Dec 2025 15:05:44 GMT, Volkan Yazici <vyazici at openjdk.org> wrote:
>> 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:
>
> Double-quote `Transfer-Encoding` in exception message
Marked as reviewed by djelinski (Reviewer).
-------------
PR Review: https://git.openjdk.org/jdk/pull/28431#pullrequestreview-3568870225
More information about the net-dev
mailing list