< prev index next >

src/jdk.compiler/share/classes/com/sun/tools/javac/processing/JavacProcessingEnvironment.java

Print this page

        

*** 760,770 **** * processor's source version needs to be greater than or * equal to the source version of the compile. */ private void checkSourceVersionCompatibility(Source source, Log log) { SourceVersion procSourceVersion = processor.getSupportedSourceVersion(); - if (procSourceVersion.compareTo(Source.toSourceVersion(source)) < 0 ) { log.warning(Warnings.ProcProcessorIncompatibleSourceVersion(procSourceVersion, processor.getClass().getName(), source.name)); } --- 760,769 ----
< prev index next >