ArrayType prints element type post order

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: P3
    • 9
    • Affects Version/s: 8, 9
    • Component/s: tools
    • b62
    • generic
    • generic
    • Verified

        ArrayType.toString() looks like:


                public String toString() {
                    StringBuilder sb = new StringBuilder();
                    sb.append(elemtype);
                    appendAnnotationsString(sb, true);
                    sb.append("[]");
                    return sb.toString();
                }

        This prints the component type first, but then the potentially nested array types in reverse order.

              Assignee:
              Andreas Lundblad (Inactive)
              Reporter:
              Kumar Srinivasan
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated:
                Resolved: