langtools/test/tools/javac/processing/6430209/b6341534.java
changeset 4935 ff8adaa7bb8e
parent 2983 1d164c36212a
child 5520 86e4b9a9da40
--- a/langtools/test/tools/javac/processing/6430209/b6341534.java	Mon Feb 15 18:20:57 2010 -0800
+++ b/langtools/test/tools/javac/processing/6430209/b6341534.java	Mon Feb 15 20:06:11 2010 -0800
@@ -22,6 +22,7 @@
  */
 
 import javax.annotation.processing.*;
+import javax.lang.model.SourceVersion;
 import javax.lang.model.element.*;
 import javax.lang.model.util.*;
 import static javax.lang.model.util.ElementFilter.*;
@@ -30,7 +31,6 @@
 import java.util.Set;
 
 @SupportedAnnotationTypes({"*"})
-@SupportedSourceVersion(javax.lang.model.SourceVersion.RELEASE_7)
 public class b6341534 extends AbstractProcessor {
     static int r = 0;
     static Elements E = null;
@@ -62,4 +62,9 @@
         if( renv.errorRaised() ) {      msgr.printMessage(ERROR, "FAILED");}
         return true;
     }
+
+    @Override
+    public SourceVersion getSupportedSourceVersion() {
+        return SourceVersion.latest();
+    }
 }