re PR libgcj/20273 (LinkedHashMap breaks linked list when access() is called)
2005-05-29 Michael Koch <konqueror@gmx.de> PR libgcj/20273: * java/util/LinkedHashMap.java (access): Set 'root.pred'. From-SVN: r100347
This commit is contained in:
parent
7b9997f307
commit
ad821074cb
@ -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.
|
||||
|
@ -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;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user