[
https://issues.apache.org/jira/browse/TORQUE-103?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Thomas Fischer closed TORQUE-103.
---------------------------------
Resolution: Fixed
Fix Version/s: 3.3-RC3
Patch applied
Thanks for the patch.
> TorqueRuntimeException.splitStackTrace has invalid cast.
> --------------------------------------------------------
>
> Key: TORQUE-103
> URL: https://issues.apache.org/jira/browse/TORQUE-103
> Project: Torque
> Issue Type: Bug
> Components: Runtime
> Affects Versions: 3.3-RC2
> Reporter: Jonathan Purvis
> Fix For: 3.3-RC3
>
>
> line 225 of TorqueRuntimeException.java has:
> return (String[]) list.toArray();
> it should be:
> return (String[]) list.toArray(new String[list.size()]);
> Otherwise the returned array will be of type Object[] and the cast will fail
> at runtime.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]