< prev index next >
src/jdk.compiler/share/classes/com/sun/tools/javac/main/JavaCompiler.java
Print this page
@@ -890,12 +890,12 @@
checkReusable();
hasBeenUsed = true;
// forcibly set the equivalent of -Xlint:-options, so that no further
// warnings about command line options are generated from this point on
- options.put(XLINT_CUSTOM.text + "-" + LintCategory.OPTIONS.option, "true");
- options.remove(XLINT_CUSTOM.text + LintCategory.OPTIONS.option);
+ options.put(XLINT_CUSTOM.primaryName + "-" + LintCategory.OPTIONS.option, "true");
+ options.remove(XLINT_CUSTOM.primaryName + LintCategory.OPTIONS.option);
start_msec = now();
try {
initProcessAnnotations(processors);
@@ -1256,12 +1256,12 @@
}
static boolean explicitAnnotationProcessingRequested(Options options) {
return
options.isSet(PROCESSOR) ||
- options.isSet(PROCESSORPATH) ||
- options.isSet(PROCESSORMODULEPATH) ||
+ options.isSet(PROCESSOR_PATH) ||
+ options.isSet(PROCESSOR_MODULE_PATH) ||
options.isSet(PROC, "only") ||
options.isSet(XPRINT);
}
public void setDeferredDiagnosticHandler(Log.DeferredDiagnosticHandler deferredDiagnosticHandler) {
< prev index next >