harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mark Hindess (JIRA)" <j...@apache.org>
Subject [jira] Commented: (HARMONY-6296) [classlib][sql][test] derby.jar used in java5 testing required java6 classes
Date Wed, 12 Aug 2009 12:07:14 GMT

    [ https://issues.apache.org/jira/browse/HARMONY-6296?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12742307#action_12742307

Mark Hindess commented on HARMONY-6296:

If it is "supposed to be OK with java 5" then why does:

  unzip -p deploy/build/test/derby/derby.jar |strings |grep java.sql.SQLTransientConnectionException

produce some output when that is a Java 6 *not* Java 5 class?

Is there a derby.jar that actually is OK with Java 5?  Or do we need to compile one ourselves?

> [classlib][sql][test] derby.jar used in java5 testing required java6 classes
> ----------------------------------------------------------------------------
>                 Key: HARMONY-6296
>                 URL: https://issues.apache.org/jira/browse/HARMONY-6296
>             Project: Harmony
>          Issue Type: Bug
>          Components: Classlib
>            Reporter: Mark Hindess
> I see errors with the sql tests on java5 occasionally.  The test failures just shows
that the driver is unregistered but derby.log contains:
>   ERROR XBM01: Startup failed due to an exception. See next exception for details. 
>   ...
>   Caused by: java.lang.NoClassDefFoundError: java.sql.SQLTransientConnectionException
> Adding missing java6 classes causes the tests to pass reliably.  I wonder if there is
a version of derby.jar more suitable for java 5 testing?

This message is automatically generated by JIRA.
You can reply to this email to add a comment to the issue online.

View raw message