Return-Path: X-Original-To: apmail-commons-issues-archive@minotaur.apache.org Delivered-To: apmail-commons-issues-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id BE40D11F05 for ; Tue, 19 Aug 2014 18:33:26 +0000 (UTC) Received: (qmail 27340 invoked by uid 500); 19 Aug 2014 18:33:20 -0000 Delivered-To: apmail-commons-issues-archive@commons.apache.org Received: (qmail 27262 invoked by uid 500); 19 Aug 2014 18:33:19 -0000 Mailing-List: contact issues-help@commons.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: issues@commons.apache.org Delivered-To: mailing list issues@commons.apache.org Received: (qmail 27207 invoked by uid 99); 19 Aug 2014 18:33:19 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 19 Aug 2014 18:33:19 +0000 Date: Tue, 19 Aug 2014 18:33:19 +0000 (UTC) From: "Thomas Vandahl (JIRA)" To: issues@commons.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (JCS-116) CompositeCacheManager is thread-hostile MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/JCS-116?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Thomas Vandahl updated JCS-116: ------------------------------- Fix Version/s: jcs-2.0.0 > 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 > Fix For: jcs-2.0.0 > > > 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)