Hi everybody,
I wrote (myself!
) this very sophisticated piece of code:
Simple as it is, it nevertheless manages to produce exception. The output is:
THE MAP:
10
Exc msg: null, class: class java.util.ConcurrentModificationException
Now can anybody explain to me, how the hell does this happen? Can you spot this concurrent modification the JVM is complaining about??
[ July 18, 2008: Message edited by: Dariusz Kordonski ]