RFR: 8328821: Map.of() derived view collection mutators should throw UnsupportedOperationException [v7]
Liam Miller-Cushon
cushon at openjdk.org
Tue Jul 9 23:17:47 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 test/jdk/java/util/Collection/MOAT.java
Co-authored-by: Chen Liang <liach at openjdk.org>
-------------
Changes:
- all: https://git.openjdk.org/jdk/pull/18522/files
- new: https://git.openjdk.org/jdk/pull/18522/files/31dc4f5e..3acac325
Webrevs:
- full: https://webrevs.openjdk.org/?repo=jdk&pr=18522&range=06
- incr: https://webrevs.openjdk.org/?repo=jdk&pr=18522&range=05-06
Stats: 1 line in 1 file changed: 0 ins; 0 del; 1 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