The implementation of HashMap.get is stricter than the specification of HashMap.get. The disparit obscures inconsistent behavior in the .equals method of instances used a keys. Other HashMap methods use similarly imprecise implementations, for example `remove'().
- causes
-
JDK-8373617 [jaxp] TransformerTest fails due to InstructionComparator gap
-
- New
-
- clones
-
JDK-8366214 [lworld] Use Objects.equals in HashMap and ConcurrentHashmap
-
- Resolved
-
- csr for
-
JDK-8373558 Use of identity in HashMap and ConcurrentHashmap comparisons
-
- Proposed
-