db-derby-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Knut Anders Hatlen (Updated) (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (DERBY-5540) Call initCause() and getCause() without reflection in BaseJDBCTestCase
Date Thu, 15 Dec 2011 12:24:30 GMT

     [ https://issues.apache.org/jira/browse/DERBY-5540?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel

Knut Anders Hatlen updated DERBY-5540:

    Attachment: d5540.diff

The attached patch makes BaseJDBCTestCase call initCause() and getCause() directly. All the
regression tests passed.
> Call initCause() and getCause() without reflection in BaseJDBCTestCase
> ----------------------------------------------------------------------
>                 Key: DERBY-5540
>                 URL: https://issues.apache.org/jira/browse/DERBY-5540
>             Project: Derby
>          Issue Type: Improvement
>          Components: Test
>    Affects Versions:
>            Reporter: Knut Anders Hatlen
>            Assignee: Knut Anders Hatlen
>            Priority: Trivial
>         Attachments: d5540.diff
> BaseJDBCTestCase uses reflection to call Throwable.initCause() and Throwable.getCause().
This was needed when running the tests on Java 1.3 and on Foundation Profile 1.0, but those
platforms aren't supported any more. Now we should call the methods directly.

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira


View raw message