Details
-
Bug
-
Resolution: Fixed
-
P3
-
9
-
b147
-
Verified
Description
The spec for javax.tools.ToolProvider::getSystemToolClassLoader specifies to return null if no tool is provided. ToolProvider now finds javac and javadoc.
Currently, in jdk9, it always returns the application class loader unconditionally which is a bug.
On the other hand, what should it return if jdk.compiler or jdk.javadoc is present in the image but not both? spec clarification might be needed.
Currently, in jdk9, it always returns the application class loader unconditionally which is a bug.
On the other hand, what should it return if jdk.compiler or jdk.javadoc is present in the image but not both? spec clarification might be needed.
Attachments
Issue Links
- relates to
-
JDK-8172818 Add since=9 deprecation information to javax.lang.model classes
- Resolved