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

    • Sub-task
    • Resolution: Delivered
    • P4
    • 17
    • 17
    • core-libs

    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

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

            Dates

              Created:
              Updated:
              Resolved: