On Fri, 15 Apr 2022 05:58:32 GMT, liach <d...@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.
This pull request has now been integrated. Changeset: 53905e60 Author: Stuart Marks <stuart.ma...@oracle.com> Committer: Stuart Marks <sma...@openjdk.org> URL: https://git.openjdk.org/jdk/commit/53905e600a0f0f008440da52b4d2b87cc9c5c8dc Stats: 166 lines in 2 files changed: 153 ins; 2 del; 11 mod 8178355: IdentityHashMap uses identity-based comparison for values everywhere except remove(K,V) and replace(K,V,V) Reviewed-by: smarks ------------- PR: https://git.openjdk.org/jdk/pull/8259