United StatesChange Country, Oracle Worldwide Web Sites Communities I am a... I want to...
JDK-6691215 : (coll) IdentityHashMap.containsValue(null) returns true when null value not present

Details
Type:
Bug
Submit Date:
2008-04-20
Status:
Resolved
Updated Date:
2012-10-08
Project Name:
JDK
Resolved Date:
2008-05-19
Component:
core-libs
OS:
generic
Sub-Component:
java.util:collections
CPU:
generic
Priority:
P4
Resolution:
Fixed
Affected Versions:
7
Fixed Versions:

Related Reports
Backport:
Backport:

Sub Tasks

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
                                     
2008-05-12
EVALUATION

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



Hardware and Software, Engineered to Work Together