RFR[8230159]: Add test to verify that com.sun.net.httpserver.BasicAuthenticator constructors throw expected exceptions
Patrick Concannon
patrick.concannon at oracle.com
Mon Sep 2 10:23:38 UTC 2019
Hi,
Would it be possible to have my fix for JDK-8230159 reviewed?
Test added to verify that com/sun/net/httpserver/BasicAuthenticator
constructors throw expected exceptions.
The com/sun/net/httpserver/BasicAuthenticator constructors specifies
that NullPointerException will be thrown if realm or charset are {@code
null}, and IllegalArgumentException will be thrown if realm is an empty
string. This fix adds a test for these assertions.
Further information on this bug can be found here:
https://bugs.openjdk.java.net/browse/JDK-8230159
Webrev for fix:
http://cr.openjdk.java.net/~dfuchs/pconcann/8230159/webrevs/webrev.2/
Kind regards,
Patrick
More information about the net-dev
mailing list