Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
1.0-JSR-1
-
None
-
None
-
win xp / All.
Description
Iterating through groovy binding variables in a script results in java.util.ConcurrentModificationException
#test.gy
for (keyval in binding.variables){ //exception gets thrown at this line
println "key is $keyval.key and value is $keyval.value"
}
the for loop throws a java.util.ConcurrentModificationException while iterating through groovy binding variables Map.