Return-Path: Delivered-To: apmail-incubator-cayenne-dev-archive@locus.apache.org Received: (qmail 46358 invoked from network); 2 Sep 2006 15:37:14 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 2 Sep 2006 15:37:14 -0000 Received: (qmail 80208 invoked by uid 500); 2 Sep 2006 15:37:14 -0000 Delivered-To: apmail-incubator-cayenne-dev-archive@incubator.apache.org Received: (qmail 80106 invoked by uid 500); 2 Sep 2006 15:37:13 -0000 Mailing-List: contact cayenne-dev-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: cayenne-dev@incubator.apache.org Delivered-To: mailing list cayenne-dev@incubator.apache.org Received: (qmail 80097 invoked by uid 99); 2 Sep 2006 15:37:13 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 02 Sep 2006 08:37:13 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from [209.237.227.198] (HELO brutus.apache.org) (209.237.227.198) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 02 Sep 2006 08:37:12 -0700 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id E724E41001F for ; Sat, 2 Sep 2006 15:33:48 +0000 (GMT) Message-ID: <24130698.1157211228944.JavaMail.jira@brutus> Date: Sat, 2 Sep 2006 08:33:48 -0700 (PDT) From: "Andrus Adamchik (JIRA)" To: cayenne-dev@incubator.apache.org Subject: [JIRA] Created: (CAY-649) ExtenedTypeMap.getRegisteredType(Class) incorrectly handles array types MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N ExtenedTypeMap.getRegisteredType(Class) incorrectly handles array types ----------------------------------------------------------------------- Key: CAY-649 URL: http://issues.apache.org/cayenne/browse/CAY-649 Project: Cayenne Type: Bug Components: Cayenne Core Library Versions: 1.2 [STABLE], 3.0, 2.0 [STABLE] Reporter: Andrus Adamchik Assigned to: Andrus Adamchik Priority: Trivial Fix For: 1.2 [STABLE], 3.0, 2.0 [STABLE] Array class name key is built incorrectly inside ExtenedTypeMap.getRegisteredType(Class): if (javaClass.isArray()) { // only support single dimensional arrays now name = javaClass.getComponentType() + "[]"; } must be if (javaClass.isArray()) { // only support single dimensional arrays now name = javaClass.getComponentType().getName() + "[]"; } -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/cayenne/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira