Skip to content
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ public interface JctCompiler<C extends JctCompiler<C, R>, R extends JctCompilati
/**
* Default setting for fixing modules being placed on the classpath by mistake ({@code true}).
*/
boolean DEFAULT_FIX_JVM_MODULEPATH_MISMATCH = true;
boolean DEFAULT_FIX_JVM_MODULE_PATH_MISMATCH = true;

/**
* Default setting for inclusion of the current class path ({@code true}).
Expand Down Expand Up @@ -584,7 +584,7 @@ default C target(SourceVersion target) {
* enabled, and only applies to the current JVM classpath and module path.
*
* <p>Unless otherwise changed or specified, implementations should default to
* {@link #DEFAULT_FIX_JVM_MODULEPATH_MISMATCH}.
* {@link #DEFAULT_FIX_JVM_MODULE_PATH_MISMATCH}.
*
* @return {@code true} if enabled, or {@code false} if disabled.
*/
Expand All @@ -595,7 +595,7 @@ default C target(SourceVersion target) {
* on the module path.
*
* <p>Unless otherwise changed or specified, implementations should default to
* {@link #DEFAULT_FIX_JVM_MODULEPATH_MISMATCH}.
* {@link #DEFAULT_FIX_JVM_MODULE_PATH_MISMATCH}.
*
* @param fixJvmModulePathMismatch whether to enable the mismatch fixing or not.
* @return this compiler object for further call chaining.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ protected AbstractJctCompiler(
target = null;
verbose = JctCompiler.DEFAULT_VERBOSE;
diagnosticLoggingMode = JctCompiler.DEFAULT_DIAGNOSTIC_LOGGING_MODE;
fixJvmModulePathMismatch = JctCompiler.DEFAULT_FIX_JVM_MODULEPATH_MISMATCH;
fixJvmModulePathMismatch = JctCompiler.DEFAULT_FIX_JVM_MODULE_PATH_MISMATCH;
inheritClassPath = JctCompiler.DEFAULT_INHERIT_CLASS_PATH;
inheritModulePath = JctCompiler.DEFAULT_INHERIT_MODULE_PATH;
inheritPlatformClassPath = JctCompiler.DEFAULT_INHERIT_PLATFORM_CLASS_PATH;
Expand Down