jbossas/jboss-as — pull request #3620 by sfcoy (2012-12-11 12:12:00+00:00)
Title: AS7-6132 Modernise the cascadeDelete method with generics

which removes the downcast problem by eliminating the toArray call altogether.