Integrated: 8372256 : ClassCastException in `ConcurrentHashMap#equals`
Viktor Klang
vklang at openjdk.org
Mon Nov 24 10:33:39 UTC 2025
On Fri, 21 Nov 2025 14:37:57 GMT, Viktor Klang <vklang at openjdk.org> wrote:
> Adding logic to handle CCEs and NPEs (the latter cannot logically occur as CHM does not support null keys) as per [AbstractMap::equals](https://github.com/openjdk/jdk/blob/master/src/java.base/share/classes/java/util/AbstractMap.java#L474)
This pull request has now been integrated.
Changeset: 0c1ef366
Author: Viktor Klang <vklang at openjdk.org>
URL: https://git.openjdk.org/jdk/commit/0c1ef366686b7ff1b461e2617f7f3b7a71467c04
Stats: 32 lines in 2 files changed: 27 ins; 0 del; 5 mod
8372256: ClassCastException in `ConcurrentHashMap#equals`
Reviewed-by: dl, alanb
-------------
PR: https://git.openjdk.org/jdk/pull/28453
More information about the core-libs-dev
mailing list