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

Fix issue with null key at resize of HashMap

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P2 P2
    • 8
    • 7-pool, 8
    • core-libs
    • b41
    • 8
    • b43
    • generic
    • generic
    • Verified

        If the key to be insterted into a HashMap is null and the table needs to be resized as part of the insertion then addEntry will try to recalculate the hash of a null key. This will fail with an NPE.

              mduigou Mike Duigou
              mduigou Mike Duigou
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved:
                Imported:
                Indexed: