<http://issues.apache.org/bugzilla/show_bug.cgi?id=30148>.
------- Additional Comments From [EMAIL PROTECTED] 2004-08-10 11:01 ------- The bug was fixed in 2.1.4. Carsten kindly replaced any reference to the StaticBucketMap with a synchronized HashMap (not nice, but it works). This was done in the Excalibur ComponentManager package. Commons-Collections still has the non-threadsafe StaticBucketMap in it.
I took a looong look at the current version of StaticBucketMap [1] but fail to see how it is not thread safe... Can anybody give a guess, what can go wrong in this code?
Vadim
[1] http://cvs.apache.org/viewcvs.cgi/jakarta-commons/collections/src/java/org/apache/commons/collections/map/StaticBucketMap.java?annotate=1.11