> This PR proposes to replace older `Collection.unmodifiable` wrappers with > `Set.of()` instead. This can improve performance, reduce footprint, and > reduce maintenance. There is also occasional use of `Map.of()` in nearby > places where `Set.of()` was introduced. > > --------- > - [X] I confirm that I make this contribution in accordance with the [OpenJDK > Interim AI Policy](https://openjdk.org/legal/ai).
Per Minborg has updated the pull request incrementally with one additional commit since the last revision: Clean up ------------- Changes: - all: https://git.openjdk.org/jdk/pull/31135/files - new: https://git.openjdk.org/jdk/pull/31135/files/d147c1b8..5ad97e0b Webrevs: - full: https://webrevs.openjdk.org/?repo=jdk&pr=31135&range=02 - incr: https://webrevs.openjdk.org/?repo=jdk&pr=31135&range=01-02 Stats: 9 lines in 3 files changed: 5 ins; 0 del; 4 mod Patch: https://git.openjdk.org/jdk/pull/31135.diff Fetch: git fetch https://git.openjdk.org/jdk.git pull/31135/head:pull/31135 PR: https://git.openjdk.org/jdk/pull/31135
