array-map and hash-map differ in handling of keys comparing identical but not equal

Description

Approach: Array-map's comparison skips identity-check and always delegates to .equals calls. The attached patch alignes array-map behaviour with hash-map by doing the appropriate pointer checks before delegating to .equals

Environment

None

Assignee

Unassigned

Reporter

Nicola Mometto

Labels

None

Approval

None

Patch

Code

Priority

Minor
Configure