> 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 incremental webrev excludes the unrelated changes brought in by the merge/rebase. The pull request contains 13 additional commits since the last revision: - 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 <li...@openjdk.org> - Update copyright year and add the bug number to the modified test - Update unmodifiable map javadoc - Also throw UOE for mutators on keySet() and values() and add more test coverage to MOAT. - Merge remote-tracking branch 'origin/master' into JDK-8328821-make-clear-consistent - Merge remote-tracking branch 'origin/master' into JDK-8328821-make-clear-consistent - Check m.entrySet().hashCode() in MOAT - Merge remote-tracking branch 'origin/master' into JDK-8328821-make-clear-consistent - ... and 3 more: https://git.openjdk.org/jdk/compare/1522f869...d83ca7f3 ------------- Changes: - all: https://git.openjdk.org/jdk/pull/18522/files - new: https://git.openjdk.org/jdk/pull/18522/files/223164c4..d83ca7f3 Webrevs: - full: https://webrevs.openjdk.org/?repo=jdk&pr=18522&range=08 - incr: https://webrevs.openjdk.org/?repo=jdk&pr=18522&range=07-08 Stats: 317645 lines in 8435 files changed: 178168 ins; 107048 del; 32429 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