RFR: 8263899: HttpClient throws NPE in AuthenticationFilter when parsing www-authenticate head [v3]

Michael McMahon michaelm at openjdk.java.net
Wed Mar 24 11:13:45 UTC 2021


On Mon, 22 Mar 2021 10:31:19 GMT, Daniel Fuchs <dfuchs at openjdk.org> wrote:

>> Michael McMahon has updated the pull request incrementally with one additional commit since the last revision:
>> 
>>   fix whitespace error
>
> test/jdk/java/net/httpclient/EmptyAuthenticate.java line 63:
> 
>> 61:         //run client:
>> 62:         try {
>> 63:             HttpClient httpClient = HttpClient.newHttpClient();
> 
> Hmmm... Does this happen even when there's no authenticator?

Yes, the test does not set an authenticator and will fail without the fix.

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

PR: https://git.openjdk.java.net/jdk/pull/3113


More information about the net-dev mailing list