[
https://issues.apache.org/jira/browse/DERBY-4459?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Kathey Marsden reopened DERBY-4459:
-----------------------------------
Reopen for backport.
> Verification error at execute-time when an outer function which takes a
> primitive arg is wrapped around an inner function which returns the
> corresponding Java wrapper object
> -----------------------------------------------------------------------------------------------------------------------------------------------------------------------------
>
> Key: DERBY-4459
> URL: https://issues.apache.org/jira/browse/DERBY-4459
> Project: Derby
> Issue Type: Bug
> Components: SQL
> Affects Versions: 10.4.2.1, 10.5.3.1, 10.6.1.0
> Reporter: Rick Hillegas
> Assignee: Rick Hillegas
> Fix For: 10.7.1.1
>
> Attachments: derby-4459-01-aa-disableOptimization.diff,
> derby-4459.sql, derby4459.java
>
>
> An insane Derby raises a verification error when trying to run the following
> query:
> values( negateInt( getNullInt() ) );
> where negateInt() takes a primitive int argument and getNullInt() returns an
> Integer.
> Sane Derby raises an assertion. The same test case, run against 10.3.3.1,
> also fails but raises a more graceful compile-time exception.
--
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira