RFR: 8328821: Map.of() derived view collection mutators should throw UnsupportedOperationException [v7]
Chen Liang
liach at openjdk.org
Thu Aug 8 13:35:34 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>
keep-alive while we evaluate the impact...
-------------
PR Comment: https://git.openjdk.org/jdk/pull/18522#issuecomment-2275845189
More information about the core-libs-dev
mailing list