JDK 8 RFR 7179567: JCK8 tests: api/java_net/URLClassLoader/index.html#Ctor3 failed with NPE

Brian Burkhalter brian.burkhalter at oracle.com
Tue Oct 15 20:58:02 UTC 2013


Pursuant to comments on the submitted CCC request, the patch previously approved for this issue has been revised:

http://cr.openjdk.java.net/~bpb/7179567/webrev.6/

The difference is that the URLClassLoader constructors and newInstance() methods no longer throw a NPE if the URL array parameter is non-null but contains at least one null element. The javadoc and test have been adjusted accordingly.

A new issue https://bugs.openjdk.java.net/browse/JDK-8026517 has been filed to track adding a test for a null element in the URL array parameter. This latter issue is not presently scheduled to be addressed in JDK 8.

Thanks,

Brian


More information about the core-libs-dev mailing list