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 71CE810CE0 for ; Thu, 4 Jul 2013 19:27:50 +0000 (UTC) Received: (qmail 45211 invoked by uid 500); 4 Jul 2013 19:27:49 -0000 Delivered-To: apmail-commons-issues-archive@commons.apache.org Received: (qmail 45126 invoked by uid 500); 4 Jul 2013 19:27:49 -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 45090 invoked by uid 99); 4 Jul 2013 19:27:49 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 04 Jul 2013 19:27:49 +0000 Date: Thu, 4 Jul 2013 19:27:49 +0000 (UTC) From: "Benedikt Ritter (JIRA)" To: issues@commons.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (CHAIN-52) ContextBase subclasses, when cloned, end up with local property entries in the HashMap 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/CHAIN-52?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Benedikt Ritter updated CHAIN-52: --------------------------------- Component/s: Base > ContextBase subclasses, when cloned, end up with local property entries in the HashMap > -------------------------------------------------------------------------------------- > > Key: CHAIN-52 > URL: https://issues.apache.org/jira/browse/CHAIN-52 > Project: Commons Chain > Issue Type: Bug > Components: Base > Affects Versions: 1.1 > Environment: All OS's, JDK 6 > Reporter: Martin John Bartlett > > When a context class is created based on ContextBase, an instance of that created, then the local properties populated, then the instance cloned, each local property ends up in the HashMap. As with other methods from HashMap overridden in ContextBase, clone should overridden to prevent local properties being written to the HashMap. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira