The implementation of HashMap.get is stricter than the specification of HashMap.get. The disparity 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
-
- Open
-
- clones
-
JDK-8366214 [lworld] Use Objects.equals in HashMap and ConcurrentHashmap
-
- Resolved
-
- csr for
-
JDK-8373558 Use of identity in HashMap and ConcurrentHashmap comparisons
-
- Draft
-
- relates to
-
JDK-8255024 [lworld] Split acmp forward through virtual calls to Object.equals
-
- Open
-