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)
|