Return-Path: Delivered-To: apmail-db-derby-dev-archive@www.apache.org Received: (qmail 12316 invoked from network); 29 Sep 2005 17:28:37 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 29 Sep 2005 17:28:37 -0000 Received: (qmail 59632 invoked by uid 500); 29 Sep 2005 17:28:35 -0000 Delivered-To: apmail-db-derby-dev-archive@db.apache.org Received: (qmail 59567 invoked by uid 500); 29 Sep 2005 17:28:35 -0000 Mailing-List: contact derby-dev-help@db.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: List-Post: List-Id: Reply-To: "Derby Development" Delivered-To: mailing list derby-dev@db.apache.org Received: (qmail 59531 invoked by uid 99); 29 Sep 2005 17:28:35 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests=SPF_FAIL X-Spam-Check-By: apache.org Received: from [192.87.106.226] (HELO ajax.apache.org) (192.87.106.226) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 29 Sep 2005 10:28:33 -0700 Received: from ajax.apache.org (ajax.apache.org [127.0.0.1]) by ajax.apache.org (Postfix) with ESMTP id 1DAEB22F for ; Thu, 29 Sep 2005 19:27:56 +0200 (CEST) Message-ID: <1327154563.1128014876119.JavaMail.jira@ajax.apache.org> Date: Thu, 29 Sep 2005 19:27:56 +0200 (CEST) From: "Deepa Remesh (JIRA)" To: derby-dev@db.apache.org Subject: [jira] Updated: (DERBY-488) DatabaseMetaData.getColumns() fails on iSeries JDK 1.4 with verfier error on generated class. In-Reply-To: <464763353.1123100975141.JavaMail.jira@ajax.apache.org> 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 [ http://issues.apache.org/jira/browse/DERBY-488?page=all ] Deepa Remesh updated DERBY-488: ------------------------------- Fix Version: 10.1.1.1 > DatabaseMetaData.getColumns() fails on iSeries JDK 1.4 with verfier error on generated class. > --------------------------------------------------------------------------------------------- > > Key: DERBY-488 > URL: http://issues.apache.org/jira/browse/DERBY-488 > Project: Derby > Type: Bug > Components: SQL > Versions: 10.1.1.0 > Reporter: Daniel John Debrunner > Assignee: Kathey Marsden > Fix For: 10.0.2.2, 10.2.0.0, 10.1.2.0, 10.1.1.1 > Attachments: patch488.txt > > Analysis shows that > ---------------------------------------------------------------------- > The problem is occurring starting at offset 2007 in method e23. There is an invokeinterface to method setWidth(int, int, boolean) of class VariableSizeDataValue. This invoke returns a value of class DataValueDescriptor. That value is in turn stored in field e142 at offset 2015 in method e23. The problem is that field e142 is a NumberDataValue, and DataValueDescriptor is not a valid subclass of NumberDataValue. Thus the store is not allowed. > ---------------------------------------------------------------------- > Looking at the generated setWidth() calls I see one in BinaryOperatorNode where the return (DataValueDescriptor) is not cast to the type of the field it is stored in. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira