RezvanG / lambdaj

Automatically exported from code.google.com/p/lambdaj
Apache License 2.0
0 stars 0 forks source link

java.util.ConcurrentModificationException #114

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
java.util.ConcurrentModificationException
    at java.util.ArrayList$Itr.checkForComodification(ArrayList.java:819)
    at java.util.ArrayList$Itr.next(ArrayList.java:791)
    at ch.lambdaj.function.closure.AbstractClosure.bindParams(AbstractClosure.java:213)
    at ch.lambdaj.function.closure.AbstractClosure.closeOne(AbstractClosure.java:153)
    at ch.lambdaj.function.closure.AbstractClosure.closeAll(AbstractClosure.java:194)
    at ch.lambdaj.function.closure.Closure.each(Closure.java:46)

What is the expected output? What do you see instead?
Should use iterator rather than for loop when updating list in java 

What version of the product are you using? On what operating system?
Error is there at any environment

Please provide any additional information below.

Original issue reported on code.google.com by kai.bu...@gmail.com on 20 Sep 2013 at 4:25