Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-6691215

(coll) IdentityHashMap.containsValue(null) returns true when null value not present

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: P4
    • Resolution: Fixed
    • Affects Version/s: 7
    • Fix Version/s: 7
    • Component/s: core-libs
    • Labels:
      None

      Backports

        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)

          Attachments

            Issue Links

              Activity

                People

                Assignee:
                chegar Chris Hegarty
                Reporter:
                alanb Alan Bateman
                Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                  Dates

                  Created:
                  Updated:
                  Resolved:
                  Imported:
                  Indexed: