1.1 --- a/test/tools/javac/processing/model/TestSymtabItems.java Fri Jul 01 14:28:19 2011 -0700 1.2 +++ b/test/tools/javac/processing/model/TestSymtabItems.java Tue Jul 05 16:37:24 2011 -0700 1.3 @@ -23,7 +23,7 @@ 1.4 1.5 /* 1.6 * @test 1.7 - * @bug 7021183 1.8 + * @bug 7021183 7025809 1.9 * @summary 269: assertion failure getting enclosing element of an undefined name 1.10 */ 1.11 1.12 @@ -37,9 +37,7 @@ 1.13 import javax.lang.model.element.VariableElement; 1.14 import javax.lang.model.type.TypeMirror; 1.15 import javax.lang.model.type.UnknownTypeException; 1.16 -import javax.lang.model.util.ElementScanner7; 1.17 -import javax.lang.model.util.SimpleTypeVisitor7; 1.18 -import javax.lang.model.util.Types; 1.19 +import javax.lang.model.util.*; 1.20 1.21 import com.sun.tools.javac.code.Symbol.ClassSymbol; 1.22 import com.sun.tools.javac.code.Symtab; 1.23 @@ -112,7 +110,7 @@ 1.24 1.25 int errors; 1.26 1.27 - class ElemPrinter extends ElementScanner7<Void, Void> { 1.28 + class ElemPrinter extends ElementScanner8<Void, Void> { 1.29 @Override 1.30 public Void visitPackage(PackageElement e, Void p) { 1.31 show("package", e);