Uploaded image for project: 'Application Server 7'
  1. Application Server 7
  2. AS7-6132

JDBCCMRFieldBridge2.CollectionValuedFieldState.cascadeDelete(CmpEntityBeanContext) downcasts toArray() result to javax.ejb.EJBLocalObject[]

XMLWordPrintable

      The downcast to EJBLocalObject[] below:

      Collection value = (Collection) getValue(ctx);
      if (!value.isEmpty()) {
      EJBLocalObject[] locals = (EJBLocalObject[]) value.toArray();

      will result in a ClassCastException.

              sfcoy Stephen Coy (Inactive)
              sfcoy Stephen Coy (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: