commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 34690] - [collections] Concurrent modification in FastArrayList
Date Tue, 24 May 2005 04:48:33 GMT
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=34690>.
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=34690


ms419@freezone.co.uk changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|RESOLVED                    |REOPENED
         Resolution|FIXED                       |




------- Additional Comments From ms419@freezone.co.uk  2005-05-24 06:48 -------
(In reply to comment #2)
> I can't test it using GNU Classpath easily, so I'll close the call, and leave it
> to be re-opened if necessary.

Cool - works awesome!

- but I think the change made to FastArrayList$ListIter.remove (FastArrayList.java:1308) must
also be 
made to FastArrayList$SubList$SubListIter (FastArrayList.java:1222) before build tests will
succeed - 
http://www.sfu.ca/~jdbates/tmp/commons-collections/patch


    [...]
    [junit] Testcase: testCollectionIteratorRemove(TestFastArrayList1.bulkTestSu
bList.testCollectionIteratorRemove) :   Caused an ERROR
    [junit] null
    [junit] java.util.ConcurrentModificationException
    [junit]    at java.util.AbstractList$2.checkMod (AbstractList.java:455)
    [junit]    at java.util.AbstractList$2.previousIndex (AbstractList.java:548)
    [junit]    at java.util.AbstractList$SubList$1.previousIndex (AbstractList.java:1114)
    [junit]    at org.apache.commons.collections.FastArrayList$SubList$SubListIter.previousIndex

(FastArrayList.java:1206)
    [junit]    at org.apache.commons.collections.FastArrayList$SubList$SubListIter.remove

(FastArrayList.java:1222)
    [junit]    at 
org.apache.commons.collections.collection.AbstractTestCollection.testCollectionIteratorRemove

(AbstractTestCollection.java:836)
    [junit]    at java.lang.reflect.Method.invokeNative (Method.java)
    [junit]    at java.lang.reflect.Method.invoke (Method.java:616)
    [junit]    at java.lang.VirtualMachine.invokeMain (VirtualMachine.java)
    [junit]    at java.lang.VirtualMachine.main (VirtualMachine.java:108)
    [...]


Many thanks for your work on this!

Jack

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

---------------------------------------------------------------------
To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org


Mime
View raw message