JDK-8373361 : Use of identity in HashMap and ConcurrentHashmap comparisons
  • Type: Bug
  • Component: core-libs
  • Sub-Component: java.util
  • Affected Version: 27
  • Priority: P4
  • Status: Open
  • Resolution: Unresolved
  • Submitted: 2025-12-09
  • Updated: 2025-12-15
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
Other
tbdUnresolved
Related Reports
CSR :  
Causes :  
Cloners :  
Description
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'().