Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-6323374 (coll) Optimize Collections.unmodifiable* and synchronized*
  3. JDK-8263397

Release Note: Collections.unmodifiable* Methods Are Idempotent for Their Corresponding Collection

    XMLWordPrintable

    Details

    • Type: Sub-task
    • Status: Closed
    • Priority: P4
    • Resolution: Delivered
    • Affects Version/s: 17
    • Fix Version/s: 17
    • Component/s: core-libs
    • Labels:

      Description

      The `unmodifiable*` methods in `java.util.Collections` will no longer re-wrap a given collection with an unmodifiable view if that collection has already been wrapped by same method.

        Attachments

          Activity

            People

            Assignee:
            igraves Ian Graves
            Reporter:
            igraves Ian Graves
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: