RFR: 8328821: Map.of() derived view collection mutators should throw UnsupportedOperationException [v13]
Liam Miller-Cushon
cushon at openjdk.org
Fri May 30 03:59:37 UTC 2025
> This change overrides mutator methods in the implementation returned by `Map.of().entrySet()` to throw `UnsupportedOperationException`.
Liam Miller-Cushon has updated the pull request incrementally with one additional commit since the last revision:
Add an implementation comment to AbstractImmutableMap
-------------
Changes:
- all: https://git.openjdk.org/jdk/pull/18522/files
- new: https://git.openjdk.org/jdk/pull/18522/files/264a7b08..25a90c8e
Webrevs:
- full: https://webrevs.openjdk.org/?repo=jdk&pr=18522&range=12
- incr: https://webrevs.openjdk.org/?repo=jdk&pr=18522&range=11-12
Stats: 2 lines in 1 file changed: 2 ins; 0 del; 0 mod
Patch: https://git.openjdk.org/jdk/pull/18522.diff
Fetch: git fetch https://git.openjdk.org/jdk.git pull/18522/head:pull/18522
PR: https://git.openjdk.org/jdk/pull/18522
More information about the core-libs-dev
mailing list