> Modify the `unmodifiable*` methods in `java.util.Collections` to be > idempotent. That is, when given an immutable collection from > `java.util.ImmutableCollections` or `java.util.Collections`, these methods > will return the reference instead of creating a new immutable collection that > wraps the existing one.
Ian Graves has updated the pull request incrementally with one additional commit since the last revision: Removing ImmutableCollections.* idempotency ------------- Changes: - all: https://git.openjdk.java.net/jdk/pull/2596/files - new: https://git.openjdk.java.net/jdk/pull/2596/files/53e366a9..a9588e9c Webrevs: - full: https://webrevs.openjdk.java.net/?repo=jdk&pr=2596&range=02 - incr: https://webrevs.openjdk.java.net/?repo=jdk&pr=2596&range=01-02 Stats: 38 lines in 2 files changed: 7 ins; 17 del; 14 mod Patch: https://git.openjdk.java.net/jdk/pull/2596.diff Fetch: git fetch https://git.openjdk.java.net/jdk pull/2596/head:pull/2596 PR: https://git.openjdk.java.net/jdk/pull/2596