Details
-
Bug
-
Status: Closed
-
Blocker
-
Resolution: Fixed
-
None
-
None
-
None
Description
The CompositeCacheManager class is a singleton. However it is not immutable, so is inherently thread-hostile.
The class does take some steps to prevent reconfiguration, but it still allows changes to variables such as defaultCacheAttr that affect instance methods such as getCache(String)
This makes it very easy to accidentally affect other threads.