--- old/test/tools/javac/processing/model/element/TestResourceVariable.java 2010-09-09 19:42:36.000000000 -0700 +++ new/test/tools/javac/processing/model/element/TestResourceVariable.java 2010-09-09 19:42:36.000000000 -0700 @@ -26,6 +26,8 @@ * @bug 6911256 6964740 * @summary Test that the resource variable kind is appropriately set * @author Joseph D. Darcy + * @library ../../../lib + * @build JavacTestingAbstractProcessor * @build TestResourceVariable * @compile/fail -processor TestResourceVariable -proc:only TestResourceVariable.java */ @@ -48,8 +50,7 @@ * resource of an ARM block and verify their kind tags are set * appropriately. */ -@SupportedAnnotationTypes("*") -public class TestResourceVariable extends AbstractProcessor implements AutoCloseable { +public class TestResourceVariable extends JavacTestingAbstractProcessor implements AutoCloseable { int resourceVariableCount = 0; public boolean process(Set annotations, @@ -105,9 +106,4 @@ return super.visitVariable(node, cu); } } - - @Override - public SourceVersion getSupportedSourceVersion() { - return SourceVersion.latest(); - } }