Bogus type-variable substitution with array types with dependencies on accessibility check

XMLWordPrintable

    • b100
    • unknown, x86
    • generic, windows_7
    • Verified

      There is a fairly straightforward bug in Types.subst (ArrayType visitor method):

      @Override
              public Type visitArrayType(ArrayType t, Void ignored) {
                  Type elemtype = subst(t.elemtype);
                  if (elemtype == t.elemtype)
                      return t;
                  else
                      return new ArrayType(upperBound(elemtype), t.tsym);
              }

            Assignee:
            Maurizio Cimadamore
            Reporter:
            Maurizio Cimadamore
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: