You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by "Sebb (JIRA)" <ji...@apache.org> on 2014/04/08 12:33:16 UTC
[jira] [Created] (JCS-116) CompositeCacheManager is thread-hostile
Sebb created JCS-116:
------------------------
Summary: CompositeCacheManager is thread-hostile
Key: JCS-116
URL: https://issues.apache.org/jira/browse/JCS-116
Project: Commons JCS
Issue Type: Bug
Reporter: Sebb
Priority: Blocker
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.
--
This message was sent by Atlassian JIRA
(v6.2#6252)