(coll) EnumMap.entrySet().toArray(T[] a) is incorrectly implemented

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: P3
    • 6
    • Affects Version/s: 6
    • Component/s: core-libs
    • b51
    • generic
    • generic
    • Verified

        EnumMap.entrySet.toArray(T[]) always returns a freshly allocated array,
        even when all of its elements fit into the argument array.

              Assignee:
              Martin Buchholz
              Reporter:
              Martin Buchholz
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Created:
                Updated:
                Resolved:
                Imported:
                Indexed: