hg: jdk/submit: 8217705: HttpClient - wrong exception type when bad status line is received

daniel.fuchs at oracle.com daniel.fuchs at oracle.com
Fri Jun 14 10:12:18 UTC 2019


Changeset: 444b2d3471e9
Author:    jpai
Date:      2019-06-14 10:19 +0530
URL:       http://hg.openjdk.java.net/jdk/submit/rev/444b2d3471e9

8217705: HttpClient - wrong exception type when bad status line is received
Summary: Throw a ProtocolException if the status code in the HTTP response's status line isn't a 3-digit integer
Reviewed-by: dfuchs

! src/java.net.http/share/classes/jdk/internal/net/http/Http1HeaderParser.java
! test/jdk/java/net/httpclient/whitebox/java.net.http/jdk/internal/net/http/Http1HeaderParserTest.java



More information about the jdk-submit-changes mailing list