Package manifold.internal.javac
Class JavacPluginBootstrap
- java.lang.Object
-
- manifold.internal.javac.JavacPluginBootstrap
-
- All Implemented Interfaces:
com.sun.source.util.Plugin
public class JavacPluginBootstrap extends Object implements com.sun.source.util.Plugin
TheJavacPlugincan'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.compilerexports fewer packages. This means we must make the necessary module changes via bypassJava9Security() beforeJavacPluginis constructed, which is the purpose of this bootstrap plugin; it makes dynamic module changes before constructing and delegating toJavacPlugin.
-
-
Constructor Summary
Constructors Constructor Description JavacPluginBootstrap()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetName()voidinit(com.sun.source.util.JavacTask task, String... args)
-