Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-6310858

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

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P3 P3
    • 6
    • 6
    • 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.

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

                Created:
                Updated:
                Resolved:
                Imported:
                Indexed: