[jboss-jira] [JBoss JIRA] (AS7-6132) JDBCCMRFieldBridge2.CollectionValuedFieldState.cascadeDelete(CmpEntityBeanContext) downcasts toArray() result to javax.ejb.EJBLocalObject[]
Stephen Coy (JIRA)
jira-events at lists.jboss.org
Tue Dec 11 06:26:17 EST 2012
Stephen Coy created AS7-6132:
--------------------------------
Summary: JDBCCMRFieldBridge2.CollectionValuedFieldState.cascadeDelete(CmpEntityBeanContext) downcasts toArray() result to javax.ejb.EJBLocalObject[]
Key: AS7-6132
URL: https://issues.jboss.org/browse/AS7-6132
Project: Application Server 7
Issue Type: Bug
Components: EJB
Affects Versions: 7.2.0.Alpha1
Environment: N/A
Reporter: Stephen Coy
Assignee: jaikiran pai
The downcast to EJBLocalObject[] below:
Collection value = (Collection) getValue(ctx);
if (!value.isEmpty()) {
EJBLocalObject[] locals = (EJBLocalObject[]) value.toArray();
will result in a ClassCastException.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the jboss-jira
mailing list