langtools/test/tools/javac/processing/model/type/NoTypes.java
changeset 4935 ff8adaa7bb8e
parent 10 06bc494ca11e
child 5520 86e4b9a9da40
--- a/langtools/test/tools/javac/processing/model/type/NoTypes.java	Mon Feb 15 18:20:57 2010 -0800
+++ b/langtools/test/tools/javac/processing/model/type/NoTypes.java	Mon Feb 15 20:06:11 2010 -0800
@@ -39,8 +39,6 @@
 
 import static javax.lang.model.type.TypeKind.*;
 
-
-@SupportedSourceVersion(SourceVersion.RELEASE_6)
 @SupportedAnnotationTypes("*")
 public class NoTypes extends AbstractProcessor {
 
@@ -60,6 +58,11 @@
         return true;
     }
 
+    @Override
+    public SourceVersion getSupportedSourceVersion() {
+        return SourceVersion.latest();
+    }
+
     private void doit(Set<? extends TypeElement> annoTypes,
                       RoundEnvironment round) {