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
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]