|
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: | 11 Nov 2005 01:00:05 -0000 |
------- Comment #2 from ujihara at aurora dot dti dot ne dot jp 2005-11-11 01:00 ------- The following program doesn't throw an exception in Java. import java.util.ListIterator; import java.util.ArrayList; public class Program { public static void main(String[] args) { ArrayList list = new ArrayList(); list.add(new Object()); list.add(new Object()); list.add(new Object()); ListIterator it = list.listIterator(1); it.next(); list.remove(1); it.nextIndex(); } } -- ujihara at aurora dot dti dot ne dot jp changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |ujihara at aurora dot dti | |dot ne dot jp Status|WAITING |UNCONFIRMED http://gcc.gnu.org/bugzilla/show_bug.cgi?id=24752
[Prev in Thread] | Current Thread | [Next in Thread] |