JDK-6691215 : (coll) IdentityHashMap.containsValue(null) returns true when null value not present
  • Type: Bug
  • Component: core-libs
  • Sub-Component: java.util:collections
  • Affected Version: 7
  • Priority: P4
  • Status: Resolved
  • Resolution: Fixed
  • OS: generic
  • CPU: generic
  • Submitted: 2008-04-20
  • Updated: 2012-10-08
  • Resolved: 2008-05-19
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.
JDK 6 JDK 7 Other
6u10Fixed 7 b27Fixed OpenJDK6Fixed
Description
IdentityHashMap's containsValue method returns true when the null value is not present but there are free slots in the table. This bug was brought up on the core-libs-dev mailing list:
  http://mail.openjdk.java.net/pipermail/core-libs-dev/2008-April/000351.html
(Look for the second reply from Josh Bloch)

Comments
EVALUATION http://hg.openjdk.java.net/jdk7/tl/jdk/rev/9781e5c7b9ba
12-05-2008

EVALUATION see discussion on core-libs-dev mailing list from the description section.
23-04-2008