db-derby-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Daniel John Debrunner (JIRA)" <derby-...@db.apache.org>
Subject [jira] Created: (DERBY-488) DatabaseMetaData.getColumns() fails on iSeries JDK 1.4 with verfier error on generated class.
Date Wed, 03 Aug 2005 20:29:35 GMT
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
 Assigned to: Daniel John Debrunner 
     Fix For: 10.1.1.0
 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


Mime
View raw message