RFR: 8328821: Map.of() derived view collection mutators should throw UnsupportedOperationException

Liam Miller-Cushon cushon at openjdk.org
Tue Jul 9 22:40:41 UTC 2024


On Tue, 9 Jul 2024 22:23:57 GMT, Chen Liang <liach at openjdk.org> wrote:

> Would you mind changing "Calling any mutator method on the Map will ..." to something like "... on the map or any derived view collection will ..." to emphasize our new consistency? (Our internal conversation agreed on this)

Done! Kevin made a similar note [in the CSR](https://bugs.openjdk.org/browse/JDK-8329284?focusedId=14688403&page=com.atlassian.jira.plugin.system.issuetabpanels%3Acomment-tabpanel#comment-14688403). I have updated the CSR to mention the javadoc change.

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

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


More information about the core-libs-dev mailing list