langtools/src/share/classes/com/sun/tools/javac/tree/TreeCopier.java
changeset 7074 0183c3f9614e
parent 7072 4863847e93a5
child 7681 1f0819a3341f
--- 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) {