On Mon, 2 Dec 2024 16:50:20 GMT, Liam Miller-Cushon <cus...@openjdk.org> wrote:
>> 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 12 additional > commits since the last revision: > > - 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 > - Use AbstractImmutableSet > - ... and 2 more: https://git.openjdk.org/jdk/compare/38d24868...223164c4 Please keep open ------------- PR Comment: https://git.openjdk.org/jdk/pull/18522#issuecomment-2515843423