Return-Path: Delivered-To: apmail-felix-dev-archive@www.apache.org Received: (qmail 85951 invoked from network); 19 Jan 2009 09:34:34 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 19 Jan 2009 09:34:34 -0000 Received: (qmail 88417 invoked by uid 500); 19 Jan 2009 09:34:25 -0000 Delivered-To: apmail-felix-dev-archive@felix.apache.org Received: (qmail 88274 invoked by uid 500); 19 Jan 2009 09:34:24 -0000 Mailing-List: contact dev-help@felix.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@felix.apache.org Delivered-To: mailing list dev@felix.apache.org Received: (qmail 88238 invoked by uid 99); 19 Jan 2009 09:34:24 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 19 Jan 2009 01:34:24 -0800 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.140] (HELO brutus.apache.org) (140.211.11.140) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 19 Jan 2009 09:34:20 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 22ECE234C485 for ; Mon, 19 Jan 2009 01:34:00 -0800 (PST) Message-ID: <2096748811.1232357640128.JavaMail.jira@brutus> Date: Mon, 19 Jan 2009 01:34:00 -0800 (PST) From: "Felix Meschberger (JIRA)" To: dev@felix.apache.org Subject: [jira] Work started: (FELIX-889) Arrays of primitives not supported by Configuration Admin In-Reply-To: <2041434219.1232357520364.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/FELIX-889?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Work on FELIX-889 started by Felix Meschberger. > Arrays of primitives not supported by Configuration Admin > --------------------------------------------------------- > > Key: FELIX-889 > URL: https://issues.apache.org/jira/browse/FELIX-889 > Project: Felix > Issue Type: Bug > Components: Configuration Admin > Affects Versions: configadmin-1.0.4, configadmin-1.0.8 > Reporter: Felix Meschberger > Assignee: Felix Meschberger > > Code inspection and additional unit tests show, that the CaseInsensitiveDictionary used to store the configuration properties does not accept and support values of primitive array type. > The bug lies with the CaseInsensitiveDictionary.checkValue(), which checkes arrays with > value instanceOf Object[] > which is never true for an array of primitive. The check must be whether the class of the value is an array type as in > value.getClass().isArray() -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.