diff -r af18e3956985 -r fe17a9dbef03 test/tools/javac/processing/6430209/b6341534.java --- a/test/tools/javac/processing/6430209/b6341534.java Mon Feb 15 18:20:57 2010 -0800 +++ b/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(); + } }