[
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: (was: [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: 10.3.1.4
> 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 phase?
--
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira