Don't recall seeing this in my build. I'll double check.
Richard Michelle Caisse (JIRA) wrote:
[ https://issues.apache.org/jira/browse/JDO-582?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12616967#action_12616967 ]Michelle Caisse commented on JDO-582: ------------------------------------- I get a compile error: test:compile: [javac] Compiling 9 source files to C:\jdo\trunk\api2\target\test-classesC:\jdo\trunk\api2\test\java\javax\jdo\JDOHelperTest.java:236: inconvertible types found : java.lang.Throwablerequired: java.lang.Throwable[] if (!(ex.getCause() instanceof Throwable[])) ^ Note: Some input files use unchecked or unsafe operations. Note: Recompile with -Xlint:unchecked for details. 1 errorTest case needed for JDOFatalUserException nested exception argument needs cast to Throwable[] ---------------------------------------------------------------------------------------------- Key: JDO-582 URL: https://issues.apache.org/jira/browse/JDO-582 Project: JDO Issue Type: Bug Components: api2, api2-legacy Reporter: Erik Bengtson Assignee: Richard Schilling Fix For: JDO 2 maintenance release 2 Attachments: 20080710-jdo-582.diff, estedExceptionJDOHelper.patch After collecting exceptions from invoking getPersistenceManagerFactory on all implementations, if no implementation has succeeded in returning a PersistenceManagerFactory, an exception is thrown, and the argument should be a Throwable[]. Otherwise, it's treated as a failed object instead of nested exceptions.
