< prev index next >

test/langtools/tools/javac/tree/SourceTreeScannerTest.java

Print this page

        

*** 57,66 **** --- 57,67 ---- import com.sun.tools.javac.tree.JCTree.JCCase; import com.sun.tools.javac.tree.JCTree.JCCompilationUnit; import com.sun.tools.javac.tree.JCTree.JCModuleDecl; import com.sun.tools.javac.tree.JCTree.TypeBoundKind; import com.sun.tools.javac.util.List; + import com.sun.tools.javac.util.Pair; public class SourceTreeScannerTest extends AbstractTreeScannerTest { /** * Main entry point. * If test.src is set, program runs in jtreg mode, and will throw an Error
*** 167,176 **** --- 168,179 ---- } } else if (o instanceof List) { List<?> list = (List<?>) o; for (Object item: list) reflectiveScan(item); + } else if (o instanceof Pair) { + return; } else error("unexpected item: " + o); } JavaFileObject sourcefile;
< prev index next >