RFR: JDK-8277520: Implement JDK-8 default methods for IdentityHashMap
liach
duke at openjdk.java.net
Tue Dec 14 22:52:57 UTC 2021
On Wed, 24 Nov 2021 05:16:40 GMT, liach <duke at openjdk.java.net> wrote:
> Might need a CSR as now `computeIfAbsent` `computeIfPresent` `compute` `merge` would throw CME if the functions modified the map itself, and there are corresponding specification changes.
Just curious, what else is recommended for such additions? Is there any recommended tests (though previous additions of `forEach` and `replaceAll` did not add any)
-------------
PR: https://git.openjdk.java.net/jdk/pull/6532
More information about the core-libs-dev
mailing list