Class JavacPluginBootstrap
java.lang.Object
manifold.internal.javac.JavacPluginBootstrap
- All Implemented Interfaces:
com.sun.source.util.Plugin
The
JavacPlugin can't be used directly with Java 16+ because stricter accessibility changes were added to
internal modules (JEP 396: Strongly Encapsulate JDK Internals by Default). For instance, jdk.compiler exports
fewer packages. This means we must make the necessary module changes via bypassJava9Security() before
JavacPlugin is constructed, which is the purpose of this bootstrap plugin; it makes dynamic module changes before
constructing and delegating to JavacPlugin.-
Constructor Details
-
JavacPluginBootstrap
public JavacPluginBootstrap()
-
-
Method Details
-
getName
- Specified by:
getNamein interfacecom.sun.source.util.Plugin
-
init
- Specified by:
initin interfacecom.sun.source.util.Plugin
-