db-derby-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Knut Anders Hatlen (JIRA)" <j...@apache.org>
Subject [jira] Updated: (DERBY-2229) UnsupportedVetter does not close the JDBC objects it opens
Date Mon, 21 Feb 2011 15:05:39 GMT

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

Knut Anders Hatlen updated DERBY-2229:

    Issue & fix info: [Patch Available]

> UnsupportedVetter does not close the JDBC objects it opens
> ----------------------------------------------------------
>                 Key: DERBY-2229
>                 URL: https://issues.apache.org/jira/browse/DERBY-2229
>             Project: Derby
>          Issue Type: Bug
>          Components: Test
>    Affects Versions:
>            Reporter: Daniel John Debrunner
>            Priority: Minor
>              Labels: derby_triage10_8
> The comment at the end of connectionWorkhorse is:
> // No need to close the objects. They were closed by vetObject().
> but if I add an assert after that comment the test fails:
> assertTrue(conn.isClosed());
> (around line 495)
> I don't see the close() methods being added to the list of methods to check though it's
hard to follow the code, seems like it might be more obvious just to call
> the close methods rather than trying to force them into the inspection phase, especially
as a specific sort is needed. Do the close() methods need to be tested as part of the inspection/vetting

This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira


View raw message