RFR: 8328821: Map.of().entrySet() mutators should throw UnsupportedOperationException

Liam Miller-Cushon cushon at openjdk.org
Fri Apr 26 18:22:54 UTC 2024


On Wed, 27 Mar 2024 17:36:28 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`.

Please keep this open

-------------

PR Comment: https://git.openjdk.org/jdk/pull/18522#issuecomment-2079906047


More information about the core-libs-dev mailing list