You are viewing a plain text version of this content. The canonical link for it is here.
Posted to derby-dev@db.apache.org by "Knut Anders Hatlen (JIRA)" <ji...@apache.org> on 2012/04/24 12:57:33 UTC
[jira] [Updated] (DERBY-5707) Clean up statements in CharUTF8Test
[ https://issues.apache.org/jira/browse/DERBY-5707?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Knut Anders Hatlen updated DERBY-5707:
--------------------------------------
Attachment: d5707-1a.diff
The attached patch makes tearDown() null out the references to the statements instead of closing them. (They will still be closed in super.tearDown().) Also fix a typo in a javadoc comment.
> Clean up statements in CharUTF8Test
> -----------------------------------
>
> Key: DERBY-5707
> URL: https://issues.apache.org/jira/browse/DERBY-5707
> Project: Derby
> Issue Type: Improvement
> Components: Test
> Affects Versions: 10.9.0.0
> Reporter: Knut Anders Hatlen
> Assignee: Knut Anders Hatlen
> Priority: Minor
> Attachments: d5707-1a.diff
>
>
> CharUTF8Test has two PreparedStatement fields. The statements are closed in tearDown(), but not nulled out. We should null out the references to let the statements be garbage collected.
--
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