langtools/src/jdk.compiler/share/classes/com/sun/tools/javac/main/JavaCompiler.java
equal
deleted
inserted
replaced
890 checkReusable(); |
890 checkReusable(); |
891 hasBeenUsed = true; |
891 hasBeenUsed = true; |
892 |
892 |
893 // forcibly set the equivalent of -Xlint:-options, so that no further |
893 // forcibly set the equivalent of -Xlint:-options, so that no further |
894 // warnings about command line options are generated from this point on |
894 // warnings about command line options are generated from this point on |
895 options.put(XLINT_CUSTOM.text + "-" + LintCategory.OPTIONS.option, "true"); |
895 options.put(XLINT_CUSTOM.primaryName + "-" + LintCategory.OPTIONS.option, "true"); |
896 options.remove(XLINT_CUSTOM.text + LintCategory.OPTIONS.option); |
896 options.remove(XLINT_CUSTOM.primaryName + LintCategory.OPTIONS.option); |
897 |
897 |
898 start_msec = now(); |
898 start_msec = now(); |
899 |
899 |
900 try { |
900 try { |
901 initProcessAnnotations(processors); |
901 initProcessAnnotations(processors); |
1256 } |
1256 } |
1257 |
1257 |
1258 static boolean explicitAnnotationProcessingRequested(Options options) { |
1258 static boolean explicitAnnotationProcessingRequested(Options options) { |
1259 return |
1259 return |
1260 options.isSet(PROCESSOR) || |
1260 options.isSet(PROCESSOR) || |
1261 options.isSet(PROCESSORPATH) || |
1261 options.isSet(PROCESSOR_PATH) || |
1262 options.isSet(PROCESSORMODULEPATH) || |
1262 options.isSet(PROCESSOR_MODULE_PATH) || |
1263 options.isSet(PROC, "only") || |
1263 options.isSet(PROC, "only") || |
1264 options.isSet(XPRINT); |
1264 options.isSet(XPRINT); |
1265 } |
1265 } |
1266 |
1266 |
1267 public void setDeferredDiagnosticHandler(Log.DeferredDiagnosticHandler deferredDiagnosticHandler) { |
1267 public void setDeferredDiagnosticHandler(Log.DeferredDiagnosticHandler deferredDiagnosticHandler) { |