diff options
-rw-r--r-- | libjava/ChangeLog | 5 | ||||
-rw-r--r-- | libjava/java/util/LinkedHashMap.java | 3 |
2 files changed, 7 insertions, 1 deletions
diff --git a/libjava/ChangeLog b/libjava/ChangeLog index 7a5ac6e7f2c..4d7f6dac1e7 100644 --- a/libjava/ChangeLog +++ b/libjava/ChangeLog @@ -1,3 +1,8 @@ +2005-05-29 Michael Koch <konqueror@gmx.de> + + PR libgcj/20273: + * java/util/LinkedHashMap.java (access): Set 'root.pred'. + 2005-05-27 Ziga Mahkovec <ziga.mahkovec@klika.si> * ChangeLog: Fix typo. diff --git a/libjava/java/util/LinkedHashMap.java b/libjava/java/util/LinkedHashMap.java index f58cf3fe70e..d18d6f8e4a4 100644 --- a/libjava/java/util/LinkedHashMap.java +++ b/libjava/java/util/LinkedHashMap.java @@ -1,6 +1,6 @@ /* LinkedHashMap.java -- a class providing hashtable data structure, mapping Object --> Object, with linked list traversal - Copyright (C) 2001, 2002 Free Software Foundation, Inc. + Copyright (C) 2001, 2002, 2005 Free Software Foundation, Inc. This file is part of GNU Classpath. @@ -186,6 +186,7 @@ public class LinkedHashMap extends HashMap succ = null; pred = root.pred; pred.succ = this; + root.pred = this; } } } |