RFR: 8328821: Map.of().entrySet() mutators should throw UnsupportedOperationException
Chen Liang
liach at openjdk.org
Fri May 10 01:27:03 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`.
@stuart-marks Can you take a look at this?
-------------
PR Comment: https://git.openjdk.org/jdk/pull/18522#issuecomment-2103684505
More information about the core-libs-dev
mailing list