1.1 --- a/src/share/classes/com/sun/tools/javac/tree/TreeCopier.java Mon Apr 04 19:36:26 2011 +0100 1.2 +++ b/src/share/classes/com/sun/tools/javac/tree/TreeCopier.java Wed Apr 06 19:30:57 2011 -0700 1.3 @@ -338,10 +338,10 @@ 1.4 return M.at(t.pos).TypeApply(clazz, arguments); 1.5 } 1.6 1.7 - public JCTree visitDisjunctiveType(DisjunctiveTypeTree node, P p) { 1.8 - JCTypeDisjunction t = (JCTypeDisjunction) node; 1.9 + public JCTree visitUnionType(UnionTypeTree node, P p) { 1.10 + JCTypeUnion t = (JCTypeUnion) node; 1.11 List<JCExpression> components = copy(t.alternatives, p); 1.12 - return M.at(t.pos).TypeDisjunction(components); 1.13 + return M.at(t.pos).TypeUnion(components); 1.14 } 1.15 1.16 public JCTree visitArrayType(ArrayTypeTree node, P p) {