1.1 --- a/src/share/classes/com/sun/tools/javac/tree/TreeMaker.java Mon Apr 04 19:36:26 2011 +0100 1.2 +++ b/src/share/classes/com/sun/tools/javac/tree/TreeMaker.java Wed Apr 06 19:30:57 2011 -0700 1.3 @@ -435,8 +435,8 @@ 1.4 return tree; 1.5 } 1.6 1.7 - public JCTypeDisjunction TypeDisjunction(List<JCExpression> components) { 1.8 - JCTypeDisjunction tree = new JCTypeDisjunction(components); 1.9 + public JCTypeUnion TypeUnion(List<JCExpression> components) { 1.10 + JCTypeUnion tree = new JCTypeUnion(components); 1.11 tree.pos = pos; 1.12 return tree; 1.13 }