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
Affects Versions: 10.4.2.1, 10.4.3.0, 10.5.3.1, 10.5.4.0, 10.6.0.0
Reporter: Rick Hillegas
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.
-
You can reply to this email to add a comment to the issue online.