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: ujihara at aurora dot dti dot ne dot jp
Subject: [Bug classpath/24752] ArrayList#listIterator(int).nextIndex() and previousIndex() should not call checkMod().
Date: 20 Nov 2005 13:56:35 -0000


------- Comment #8 from ujihara at aurora dot dti dot ne dot jp  2005-11-20 
13:56 -------
(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. 
I believe test case of Comment #3 is enough to fix this problem ...
P.S. my comment #7 is my mistake, sorry. 


-- 


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





reply via email to

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