--- old/test/tools/javac/processing/6430209/b6341534.java 2010-02-15 20:06:02.000000000 -0800 +++ new/test/tools/javac/processing/6430209/b6341534.java 2010-02-15 20:06:01.000000000 -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(); + } }