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 607C09792 for ; Sun, 15 Jan 2012 21:34:02 +0000 (UTC) Received: (qmail 70558 invoked by uid 500); 15 Jan 2012 21:34:02 -0000 Delivered-To: apmail-commons-issues-archive@commons.apache.org Received: (qmail 70487 invoked by uid 500); 15 Jan 2012 21:34:01 -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 70479 invoked by uid 99); 15 Jan 2012 21:34:01 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 15 Jan 2012 21:34:01 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED,T_RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [140.211.11.116] (HELO hel.zones.apache.org) (140.211.11.116) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 15 Jan 2012 21:34:00 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id 2490714E1F7 for ; Sun, 15 Jan 2012 21:33:40 +0000 (UTC) Date: Sun, 15 Jan 2012 21:33:40 +0000 (UTC) From: "Oliver Heger (Resolved) (JIRA)" To: issues@commons.apache.org Message-ID: <1715955702.43146.1326663220164.JavaMail.tomcat@hel.zones.apache.org> In-Reply-To: <88222869.43138.1326662499476.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Resolved] (CONFIGURATION-476) Possible ClassCastException in CompositeConfiguration if a special in-memory configuration is used 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/CONFIGURATION-476?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Oliver Heger resolved CONFIGURATION-476. ---------------------------------------- Resolution: Fixed Fix Version/s: 1.8 Fixed in revision 1231760. > Possible ClassCastException in CompositeConfiguration if a special in-memory configuration is used > -------------------------------------------------------------------------------------------------- > > Key: CONFIGURATION-476 > URL: https://issues.apache.org/jira/browse/CONFIGURATION-476 > Project: Commons Configuration > Issue Type: Bug > Affects Versions: 1.7 > Reporter: Oliver Heger > Assignee: Oliver Heger > Fix For: 1.8 > > > Some methods of {{CompositeConfiguration}} expect that the in-memory configuration is of type {{BaseConfiguration}} (a configuration of this type is created if no specific in-memory configuration was provided). > However, there are constructors accepting an arbitrary {{Configuration}} object as in-memory configuration. If here a configuration is specified which does not extend {{BaseConfiguration}}, the casts performed by these methods will fail. The casts should only be performed if possible. > The following methods are affected: > * _setListDelimiter()_ > * _setDelimiterParsingDisabled()_ -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira