langtools/src/share/classes/com/sun/tools/javac/code/Types.java
changeset 18914 6edcda38fbdd
parent 18662 1cac45e71eb9
child 18915 dcc9c8265f65
equal deleted inserted replaced
18913:a29ea2022929 18914:6edcda38fbdd
  2862         public Type visitArrayType(ArrayType t, Void ignored) {
  2862         public Type visitArrayType(ArrayType t, Void ignored) {
  2863             Type elemtype = subst(t.elemtype);
  2863             Type elemtype = subst(t.elemtype);
  2864             if (elemtype == t.elemtype)
  2864             if (elemtype == t.elemtype)
  2865                 return t;
  2865                 return t;
  2866             else
  2866             else
  2867                 return new ArrayType(upperBound(elemtype), t.tsym);
  2867                 return new ArrayType(elemtype, t.tsym);
  2868         }
  2868         }
  2869 
  2869 
  2870         @Override
  2870         @Override
  2871         public Type visitForAll(ForAll t, Void ignored) {
  2871         public Type visitForAll(ForAll t, Void ignored) {
  2872             if (Type.containsAny(to, t.tvars)) {
  2872             if (Type.containsAny(to, t.tvars)) {