db-derby-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Daniel John Debrunner (JIRA)" <j...@apache.org>
Subject [jira] Created: (DERBY-2229) UnsupportedVetter does not close the JDBC objects it opens
Date Thu, 11 Jan 2007 00:33:27 GMT
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

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:


(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.
If you think it was sent incorrectly contact one of the administrators: https://issues.apache.org/jira/secure/Administrators.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira


View raw message