bug-classpath
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug classpath/24752] ArrayList#listIterator(int).nextIndex() and previo


From: mark at gcc dot gnu dot org
Subject: [Bug classpath/24752] ArrayList#listIterator(int).nextIndex() and previousIndex() should not call checkMod().
Date: 20 Nov 2005 15:43:05 -0000


------- Comment #9 from mark at gcc dot gnu dot org  2005-11-20 15:43 -------
(In reply to comment #8)
> (In reply to comment #6)
> > Could you post what the code of this test case does?
> 
> It is too big to post here. Visit
> http://jakarta.apache.org/commons/collections/. The problem is in
> FastArrayList, which uses previousIndex() method to know an index of the
> previous removed item.

Could you post a version, build, run instructions and a stacktrace leading to
the error.

> I believe test case of Comment #3 is enough to fix this problem ...

In comment #2 you posted some code that seems to correctly trigger a
ConcurrentModificationException.


-- 

mark at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |WAITING


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=24752





reply via email to

[Prev in Thread] Current Thread [Next in Thread]