RFR: JDK-8277520: Implement JDK-8 default methods for IdentityHashMap

liach duke at openjdk.java.net
Wed Nov 24 05:23:21 UTC 2021


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.

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

Commit messages:
 - Also test cme for identity hash map
 - Fix putIfAbsent
 - JDK-8277520: Implement JDK-8 default methods for IdentityHashMap

Changes: https://git.openjdk.java.net/jdk/pull/6532/files
 Webrev: https://webrevs.openjdk.java.net/?repo=jdk&pr=6532&range=00
  Issue: https://bugs.openjdk.java.net/browse/JDK-8277520
  Stats: 415 lines in 2 files changed: 313 ins; 83 del; 19 mod
  Patch: https://git.openjdk.java.net/jdk/pull/6532.diff
  Fetch: git fetch https://git.openjdk.java.net/jdk pull/6532/head:pull/6532

PR: https://git.openjdk.java.net/jdk/pull/6532


More information about the core-libs-dev mailing list