APAR status
Closed as program error.
Error description
Error Message: java.lang.ClassCastException: org.apache.derby.impl.sql.compile.ResultColumn incompatible with org.apache.derby.impl.sql.compile.ColumnReference . Stack Trace: at org.apache.derby.impl.sql.catalog.DataDictionaryImpl.getTriggerA ctionString(Unknown Source) at org.apache.derby.impl.sql.compile.CreateTriggerNode.bindReferenc esClause(Unknown Source) at org.apache.derby.impl.sql.compile.CreateTriggerNode.bindStatemen t(Unknown Source) at org.apache.derby.impl.sql.GenericStatement.prepMinion(Unknown Source) at org.apache.derby.impl.sql.GenericStatement.prepare(Unknown Source) at org.apache.derby.impl.sql.conn.GenericLanguageConnectionContext. prepareInternalStatement(Unknown Source) at org.apache.derby.impl.jdbc.EmbedStatement.execute(Unknown Source) at org.apache.derby.impl.jdbc.EmbedStatement.execute(Unknown Source) at org.apache.derby.impl.tools.ij.ij.executeImmediate(Unknown Source) at org.apache.derby.impl.tools.ij.utilMain.doCatch(Unknown Source) at org.apache.derby.impl.tools.ij.utilMain.runScriptGuts(Unknown Source) at org.apache.derby.impl.tools.ij.utilMain.go(Unknown Source) at org.apache.derby.impl.tools.ij.Main.go(Unknown Source) at org.apache.derby.impl.tools.ij.Main.mainCore(Unknown Source) at org.apache.derby.impl.tools.ij.Main.main(Unknown Source) at org.apache.derby.tools.ij.main(Unknown Source) . JLTF test fails.
Local fix
Problem summary
The issue was with conversion of Class.isInstance to instanceof and the new code to avoid instanceof bound check. Namely, in the conversion mentioned above the class is not constant at runtime so we use class depth of -1 in the evaluator function. This -1 was tested against the minimum size for which we can skip the instanceof boundcheck. Since -1 is less than 0 the test assumed it can skip the superclass test.
Problem conclusion
This defect will be fixed in: 7.0.0 SR4 . The fix was to detect this special non-constant class case and always do the super class bound check.
Temporary fix
Comments
APAR Information
APAR number
IV35864
Reported component name
JIT
Reported component ID
620700124
Reported release
260
Status
CLOSED PER
PE
NoPE
HIPER
NoHIPER
Special Attention
NoSpecatt
Submitted date
2013-01-24
Closed date
2013-01-24
Last modified date
2013-01-24
APAR is sysrouted FROM one or more of the following:
APAR is sysrouted TO one or more of the following:
Fix information
Fixed component name
JIT
Fixed component ID
620700124
Applicable component levels
R260 PSY
UP
[{"Business Unit":{"code":"BU048","label":"IBM Software"},"Product":{"code":"SSC9HBA","label":"Just In Time (JIT) Compiler"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"260","Edition":"","Line of Business":{"code":"","label":""}}]
Document Information
Modified date:
24 January 2013