test/tools/javac/api/T6412669.java
Print this page
*** 36,46 ****
import javax.tools.*;
import com.sun.source.util.*;
import com.sun.tools.javac.api.*;
@SupportedAnnotationTypes("*")
- @SupportedSourceVersion(SourceVersion.RELEASE_6)
public class T6412669 extends AbstractProcessor {
public static void main(String... args) throws IOException {
String testSrc = System.getProperty("test.src", ".");
String testClasses = System.getProperty("test.classes", ".");
--- 36,45 ----
*** 70,75 ****
--- 69,79 ----
m.printMessage(k, "test [" + start + "," + end + "]", e);
}
}
return true;
}
+
+ @Override
+ public SourceVersion getSupportedSourceVersion() {
+ return SourceVersion.latest();
+ }
}