Integrated: 8369595: HttpClient: HttpHeaders.firstValueAsLong failures should be converted to ProtocolException

Volkan Yazici vyazici at openjdk.org
Fri Dec 12 18:23:18 UTC 2025


On Thu, 20 Nov 2025 14:13:50 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.

This pull request has now been integrated.

Changeset: b6319f5b
Author:    Volkan Yazici <vyazici at openjdk.org>
URL:       https://git.openjdk.org/jdk/commit/b6319f5b42738cc760711a3b8b5d442d14a0ed74
Stats:     674 lines in 7 files changed: 251 ins; 128 del; 295 mod

8369595: HttpClient: HttpHeaders.firstValueAsLong failures should be converted to ProtocolException

Reviewed-by: dfuchs, djelinski

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

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


More information about the net-dev mailing list