This is the mail archive of the
java-prs@gcc.gnu.org
mailing list for the Java project.
[Bug classpath/27028] Iterator.hasNext() throws ConcurrentModificationException
- From: "bryce at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: java-prs at gcc dot gnu dot org
- Date: 5 Apr 2006 18:41:24 -0000
- Subject: [Bug classpath/27028] Iterator.hasNext() throws ConcurrentModificationException
- References: <bug-27028-9773@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #7 from bryce at gcc dot gnu dot org 2006-04-05 18:41 -------
Subject: Bug 27028
Author: bryce
Date: Wed Apr 5 18:41:17 2006
New Revision: 112714
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=112714
Log:
2006-04-05 Bryce McKinlay <mckinlay@redhat.com>
PR classpath/27028
PR classpath/24752
* java/util/AbstractList.java (hasNext): Don't throw
ConcurrentModificationException. Update Javadoc.
(hasPrevious): Likewise.
(nextIndex): Likewise.
(previousIndex): Likewise.
* java/util/HashMap.java (hasNext): Likewise.
* java/util/Hashtable.java (hasNext): Likewise.
* java/util/IdentityHashMap.java (hasNext): Likewise.
* java/util/LinkedHashMap.java (hasNext): Likewise.
* java/util/LinkedList.java (nextIndex): Likewise.
(previousIndex): Likewise.
(hasNext): Likewise.
(hasPrevious): Likewise.
* java/util/TreeMap.java (hasNext): Likewise.
* java/util/WeakHashMap.java (hasNext): Likewise.
Modified:
branches/gcc-4_1-branch/libjava/classpath/ChangeLog.gcj
branches/gcc-4_1-branch/libjava/classpath/java/util/AbstractList.java
branches/gcc-4_1-branch/libjava/classpath/java/util/HashMap.java
branches/gcc-4_1-branch/libjava/classpath/java/util/Hashtable.java
branches/gcc-4_1-branch/libjava/classpath/java/util/IdentityHashMap.java
branches/gcc-4_1-branch/libjava/classpath/java/util/LinkedHashMap.java
branches/gcc-4_1-branch/libjava/classpath/java/util/LinkedList.java
branches/gcc-4_1-branch/libjava/classpath/java/util/TreeMap.java
branches/gcc-4_1-branch/libjava/classpath/java/util/WeakHashMap.java
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27028