RFR: 8263899: HttpClient throws NPE in AuthenticationFilter when parsing www-authenticate head [v3]
Daniel Fuchs
dfuchs at openjdk.java.net
Wed Mar 24 11:13:46 UTC 2021
On Wed, 24 Mar 2021 11:06:47 GMT, Michael McMahon <michaelm at openjdk.org> wrote:
>> 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.
LGTM
-------------
PR: https://git.openjdk.java.net/jdk/pull/3113
More information about the net-dev
mailing list