[jdk11u-dev] RFR: 8292044: HttpClient doesn't handle 102 or 103 properly [v2]

Matthias Baesken mbaesken at openjdk.org
Wed Aug 7 11:15:48 UTC 2024


On Wed, 7 Aug 2024 09:36:16 GMT, Martin Doerr <mdoerr at openjdk.org> wrote:

>> Matthias Baesken has updated the pull request incrementally with one additional commit since the last revision:
>> 
>>   change comment in test about other exception class ProtocolException in jdk17
>
> 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.

Hi Martin, I changed the comment .

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

PR Review Comment: https://git.openjdk.org/jdk11u-dev/pull/2896#discussion_r1706821512


More information about the jdk-updates-dev mailing list