RFR: 8328821: Map.of() derived view collection mutators should throw UnsupportedOperationException [v7]
Liam Miller-Cushon
cushon at openjdk.org
Tue Nov 5 23:44:30 UTC 2024
On Tue, 9 Jul 2024 23:17:47 GMT, Liam Miller-Cushon <cushon at 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 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>
Let's keep this open for now
-------------
PR Comment: https://git.openjdk.org/jdk/pull/18522#issuecomment-2458418514
More information about the core-libs-dev
mailing list