DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=29625>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=29625

[collections] FastArrayList iterator method throwing ConcurrentModificationException 
in 'fast' mode

[EMAIL PROTECTED] changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|                            |FIXED
   Target Milestone|---                         |3.2



------- Additional Comments From [EMAIL PROTECTED]  2004-06-23 21:48 -------
I took a proper look and found various holes. There was no easy full solution, 
however I have managed to make some simple changes which greatly enhance 
usability.

1) Fast mode SubList iterator add() then set() and add() then remove() now 
works correctly.

2) Fast mode Iterator add() doesn't break the iterator from then on.

3) Fast mode now allows modification EITHER via the Iterator methods OR via the 
List methods. Mixing them gives a ConcurrentModificationException.

4) Some extra tests added.

Change in CVS, but won't be in 3.1 (unless 3.1 has to be rebuilt).

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to