diff -r c6a2cf3b6b82 -r ff8adaa7bb8e langtools/test/tools/javac/processing/model/util/OverridesSpecEx.java --- a/langtools/test/tools/javac/processing/model/util/OverridesSpecEx.java Mon Feb 15 18:20:57 2010 -0800 +++ b/langtools/test/tools/javac/processing/model/util/OverridesSpecEx.java Mon Feb 15 20:06:11 2010 -0800 @@ -40,7 +40,6 @@ import static javax.lang.model.util.ElementFilter.*; -@SupportedSourceVersion(SourceVersion.RELEASE_6) @SupportedAnnotationTypes("*") public class OverridesSpecEx extends AbstractProcessor { @@ -60,6 +59,11 @@ return true; } + @Override + public SourceVersion getSupportedSourceVersion() { + return SourceVersion.latest(); + } + private void doit(Set annoTypes, RoundEnvironment round) { TypeElement string = elements.getTypeElement("java.lang.String");