[jdk11u-dev] RFR: 8292044: HttpClient doesn't handle 102 or 103 properly
Martin Doerr
mdoerr at openjdk.org
Wed Aug 7 09:39:42 UTC 2024
On Tue, 6 Aug 2024 11:45:58 GMT, Matthias Baesken <mbaesken at openjdk.org> wrote:
> Backport of 8292044 from 17
Ok, [JDK-8245462](https://bugs.openjdk.org/browse/JDK-8245462) is not in 11u. I have only one change request.
test/jdk/java/net/httpclient/Response1xxTest.java line 447:
> 445: // we expect the request to fail because the server sent an unexpected 101
> 446: // to check - we get here an IOException not a ProtocalException (compared to 17 or 21)
> 447: //Assert.assertThrows(ProtocolException.class,
Typo: `ProtocalException`. I think a better comment would be:
Backport note: Later JDK versions throw a ProtocolException.
-------------
PR Review: https://git.openjdk.org/jdk11u-dev/pull/2896#pullrequestreview-2223726563
PR Review Comment: https://git.openjdk.org/jdk11u-dev/pull/2896#discussion_r1706700111
More information about the jdk-updates-dev
mailing list