RFR: 8328821: Map.of() derived view collection mutators should throw UnsupportedOperationException [v15]
Liam Miller-Cushon
cushon at openjdk.org
Thu Nov 27 14:14:10 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 with a new target base due to a merge or a rebase. The pull request now contains 20 commits:
- Merge branch 'master' into JDK-8328821-make-clear-consistent
- Merge commit 'f94644999766e752f7d60ce52c14a7db79005035' into JDK-8328821-make-clear-consistent
- Merge commit 'f94644999766e752f7d60ce52c14a7db79005035^' into JDK-8328821-make-clear-consistent
- Add an implementation comment to AbstractImmutableMap
- Update for Stable Values
- Merge remote-tracking branch 'origin/master' into JDK-8328821-make-clear-consistent
- Merge remote-tracking branch 'origin/master' into JDK-8328821-make-clear-consistent
- Merge remote-tracking branch 'origin/master' into JDK-8328821-make-clear-consistent
- Merge remote-tracking branch 'origin/master' into JDK-8328821-make-clear-consistent
- Update test/jdk/java/util/Collection/MOAT.java
Co-authored-by: Chen Liang <liach at openjdk.org>
- ... and 10 more: https://git.openjdk.org/jdk/compare/86aae125...f113d6ab
-------------
Changes: https://git.openjdk.org/jdk/pull/18522/files
Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=18522&range=14
Stats: 91 lines in 3 files changed: 85 ins; 0 del; 6 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