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

ArrayList(c) should avoid inflation if c is empty

XMLWordPrintable

    • 8
    • b12
    • generic
    • generic

        The ArrayList copy constructor does not currently do lazy initialization in the case where the provided collection is empty.

              mduigou Mike Duigou
              mduigou Mike Duigou
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: