src/share/classes/com/sun/tools/javac/tree/TreeCopier.java

changeset 724
7755f47542a0
parent 722
4851ff2ffc10
child 798
4868a36f6fd8
     1.1 --- a/src/share/classes/com/sun/tools/javac/tree/TreeCopier.java	Fri Oct 22 14:04:33 2010 -0700
     1.2 +++ b/src/share/classes/com/sun/tools/javac/tree/TreeCopier.java	Tue Oct 26 14:29:48 2010 -0700
     1.3 @@ -346,10 +346,10 @@
     1.4          return M.at(t.pos).TypeApply(clazz, arguments);
     1.5      }
     1.6  
     1.7 -    public JCTree visitDisjointType(DisjointTypeTree node, P p) {
     1.8 -        JCTypeDisjoint t = (JCTypeDisjoint) node;
     1.9 -        List<JCExpression> components = copy(t.components, p);
    1.10 -        return M.at(t.pos).TypeDisjoint(components);
    1.11 +    public JCTree visitDisjunctiveType(DisjunctiveTypeTree node, P p) {
    1.12 +        JCTypeDisjunction t = (JCTypeDisjunction) node;
    1.13 +        List<JCExpression> components = copy(t.alternatives, p);
    1.14 +        return M.at(t.pos).TypeDisjunction(components);
    1.15      }
    1.16  
    1.17      public JCTree visitArrayType(ArrayTypeTree node, P p) {

mercurial