From 15d1fe8b751bf8e2a435681d7ec9ee480a3c5ce6 Mon Sep 17 00:00:00 2001 From: Eric Scharff Date: Thu, 11 Oct 2007 17:03:51 -0600 Subject: [PATCH] Fix hashmap insertion bug (entire bucket was getting erased in some put() operations) --- classpath/java/util/HashMap.java | 1 + 1 file changed, 1 insertion(+) diff --git a/classpath/java/util/HashMap.java b/classpath/java/util/HashMap.java index 16337b367a..9f8c3bec1f 100644 --- a/classpath/java/util/HashMap.java +++ b/classpath/java/util/HashMap.java @@ -171,6 +171,7 @@ public class HashMap implements Map { -- size; break; } + p = c; } shrink();