db-derby-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Kristian Waagan (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (DERBY-5706) Clean up statements in CreateTableFromQueryTest
Date Tue, 24 Apr 2012 10:17:34 GMT

    [ https://issues.apache.org/jira/browse/DERBY-5706?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13260410#comment-13260410

Kristian Waagan commented on DERBY-5706:

Looks good, +1. I ran the test with and without the patch.
> Clean up statements in CreateTableFromQueryTest
> -----------------------------------------------
>                 Key: DERBY-5706
>                 URL: https://issues.apache.org/jira/browse/DERBY-5706
>             Project: Derby
>          Issue Type: Improvement
>          Components: Test
>    Affects Versions:
>            Reporter: Knut Anders Hatlen
>            Assignee: Knut Anders Hatlen
>            Priority: Minor
>         Attachments: d5706-1a.diff
> CreateTableFromQueryTest has a Statement field that it closes, but doesn't null out,
in tearDown(). Since the field isn't nulled out, it cannot be garbage collected, and one Statement
per test case will be left on the heap after completion.

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