Currently a URLClassLoader instance will be successfully constructed if the URL array contains a null element but a NullPointerException will subsequently occur, e.g., in findClass() if the URLClassLoader is actually used.
- duplicates
-
JDK-8198484 URLClassPath should use an ArrayDeque instead of a Stack
- Resolved
- relates to
-
JDK-7179567 JCK8 tests: api/java_net/URLClassLoader/index.html#Ctor3 failed with NPE
- Closed
-
JDK-8198803 URLClassLoader does not specify behavior when URL array contains null
- Resolved
-
JDK-6445180 URLClassLoader does not describe the behavior of several methods with respect to null arguments
- Closed