On Fri, 21 Nov 2025 14:37:57 GMT, Viktor Klang <[email protected]> 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 <[email protected]>
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

Reply via email to