< prev index next >

langtools/src/jdk.compiler/share/classes/com/sun/tools/javac/main/JavaCompiler.java

Print this page

        

*** 890,901 **** 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); start_msec = now(); try { initProcessAnnotations(processors); --- 890,901 ---- 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.primaryName + "-" + LintCategory.OPTIONS.option, "true"); ! options.remove(XLINT_CUSTOM.primaryName + LintCategory.OPTIONS.option); start_msec = now(); try { initProcessAnnotations(processors);
*** 1256,1267 **** } static boolean explicitAnnotationProcessingRequested(Options options) { return options.isSet(PROCESSOR) || ! options.isSet(PROCESSORPATH) || ! options.isSet(PROCESSORMODULEPATH) || options.isSet(PROC, "only") || options.isSet(XPRINT); } public void setDeferredDiagnosticHandler(Log.DeferredDiagnosticHandler deferredDiagnosticHandler) { --- 1256,1267 ---- } static boolean explicitAnnotationProcessingRequested(Options options) { return options.isSet(PROCESSOR) || ! 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 >