RFR: 8178355: IdentityHashMap uses identity-based comparison for values everywhere except remove(K,V) and replace(K,V,V) [v6]
Stuart Marks
smarks at openjdk.org
Tue Nov 1 04:02:18 UTC 2022
On Wed, 5 Oct 2022 03:40:27 GMT, liach <duke at openjdk.org> wrote:
>> Explicitly implement `remove` and `replace` in `IdentityHashMap` to compare values by identity. Updated API documentation of these two methods ([Preview](https://cr.openjdk.java.net/~liach/8178355/IdentityHashMap.html#remove(java.lang.Object,java.lang.Object))) to mention such behavior.
>
> liach has updated the pull request incrementally with one additional commit since the last revision:
>
> Spec updates and clarifications.
Now that the CSR is approved, this should be close to ready to go in. I just ran this through our CI system and there were a bunch of failures. Most likely they are unrelated, but I need to track this down and rerun the tests. I'll post an update when I get this figured out.
-------------
PR: https://git.openjdk.org/jdk/pull/8259
More information about the core-libs-dev
mailing list