--- a/langtools/src/share/classes/com/sun/tools/javac/tree/TreeCopier.java Fri Oct 22 14:04:33 2010 -0700
+++ b/langtools/src/share/classes/com/sun/tools/javac/tree/TreeCopier.java Tue Oct 26 14:29:48 2010 -0700
@@ -346,10 +346,10 @@
return M.at(t.pos).TypeApply(clazz, arguments);
}
- public JCTree visitDisjointType(DisjointTypeTree node, P p) {
- JCTypeDisjoint t = (JCTypeDisjoint) node;
- List<JCExpression> components = copy(t.components, p);
- return M.at(t.pos).TypeDisjoint(components);
+ public JCTree visitDisjunctiveType(DisjunctiveTypeTree node, P p) {
+ JCTypeDisjunction t = (JCTypeDisjunction) node;
+ List<JCExpression> components = copy(t.alternatives, p);
+ return M.at(t.pos).TypeDisjunction(components);
}
public JCTree visitArrayType(ArrayTypeTree node, P p) {