src/share/classes/com/sun/tools/javac/code/Types.java

changeset 970
f00986f55961
parent 950
f5b5112ee1cc
child 972
694ff82ca68e
     1.1 --- a/src/share/classes/com/sun/tools/javac/code/Types.java	Wed Apr 06 19:30:57 2011 -0700
     1.2 +++ b/src/share/classes/com/sun/tools/javac/code/Types.java	Tue Apr 12 20:56:16 2011 -0700
     1.3 @@ -2309,7 +2309,7 @@
     1.4              if (elemtype == t.elemtype)
     1.5                  return t;
     1.6              else
     1.7 -                return new ArrayType(upperBound(elemtype), t.tsym);
     1.8 +                return new ArrayType(elemtype, t.tsym);
     1.9          }
    1.10  
    1.11          @Override

mercurial