RFR: 8328821: Map.of() derived view collection mutators should throw UnsupportedOperationException [v6]
Liam Miller-Cushon
cushon at openjdk.org
Tue Jul 9 22:49:30 UTC 2024
> 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:
Update copyright year
and add the bug number to the modified test
-------------
Changes:
- all: https://git.openjdk.org/jdk/pull/18522/files
- new: https://git.openjdk.org/jdk/pull/18522/files/8327a8e1..31dc4f5e
Webrevs:
- full: https://webrevs.openjdk.org/?repo=jdk&pr=18522&range=05
- incr: https://webrevs.openjdk.org/?repo=jdk&pr=18522&range=04-05
Stats: 4 lines in 3 files changed: 0 ins; 0 del; 4 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