--- a/langtools/test/tools/javac/tree/TreePosTest.java Mon Nov 14 08:09:47 2011 -0800
+++ b/langtools/test/tools/javac/tree/TreePosTest.java Mon Nov 14 15:11:10 2011 -0800
@@ -73,6 +73,7 @@
import com.sun.source.util.JavacTask;
import com.sun.tools.javac.api.JavacTool;
import com.sun.tools.javac.code.Flags;
+import com.sun.tools.javac.parser.EndPosTable;
import com.sun.tools.javac.tree.JCTree;
import com.sun.tools.javac.tree.JCTree.JCCompilationUnit;
import com.sun.tools.javac.tree.JCTree.JCNewClass;
@@ -435,7 +436,7 @@
}
JavaFileObject sourcefile;
- Map<JCTree, Integer> endPosTable;
+ EndPosTable endPosTable;
Info encl;
}
@@ -452,7 +453,7 @@
end = Integer.MAX_VALUE;
}
- Info(JCTree tree, Map<JCTree, Integer> endPosTable) {
+ Info(JCTree tree, EndPosTable endPosTable) {
this.tree = tree;
tag = tree.getTag();
start = TreeInfo.getStartPos(tree);