L
Lew
Got a weird CME when doing Map.puts or Map.gets on a private HashMap
which gets accessed by a SINGLE thread. I also never extract iterators
from the Map.. I only do put() and get().. yet sometimes I get
ConcurrentModificationException. Toggling the Map between Hashtable,
HashMap or WeakHashMap implementations makes no difference whatsoever.
Black magic, or am I being dense?
--
Lew
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
"The greatest calamity which could befall us
would be submission to a government of unlimited power."
--- Thomas Jefferson.