java.lang.ClassLoader has an API note in its constructors that specify the parent class loader:
"If the parent is specified as null (for the bootstrap class loader) then there is no guarantee that all platform classes are visible."
It would be useful to repeat this warning/note in the URLClassLoader constructors that take a parent parameter.
"If the parent is specified as null (for the bootstrap class loader) then there is no guarantee that all platform classes are visible."
It would be useful to repeat this warning/note in the URLClassLoader constructors that take a parent parameter.
- csr for
-
JDK-8358126 URLClassLoader constructors should include API note warning that the parent should not be null
-
- Closed
-
- links to
-
Commit(master) openjdk/jdk/84002d12
-
Review(master) openjdk/jdk/25517