> 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: Revert change ------------- Changes: - all: https://git.openjdk.org/jdk/pull/31135/files - new: https://git.openjdk.org/jdk/pull/31135/files/5ad97e0b..8a670fdd Webrevs: - full: https://webrevs.openjdk.org/?repo=jdk&pr=31135&range=03 - incr: https://webrevs.openjdk.org/?repo=jdk&pr=31135&range=02-03 Stats: 2 lines in 1 file changed: 0 ins; 0 del; 2 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
