[jira] [Updated] (DERBY-5717) TableFunctionTest keeps reference to connection after completion

2012-04-25 Thread Knut Anders Hatlen (JIRA)

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

Knut Anders Hatlen updated DERBY-5717:
--

Attachment: d5717-1a.diff

The attached patch clears the _databaseMetaData field in tearDown().

> TableFunctionTest keeps reference to connection after completion
> 
>
> Key: DERBY-5717
> URL: https://issues.apache.org/jira/browse/DERBY-5717
> Project: Derby
>  Issue Type: Bug
>  Components: Test
>Affects Versions: 10.9.0.0
>Reporter: Knut Anders Hatlen
> Attachments: d5717-1a.diff
>
>
> The test cases in TableFunctionTest store a DatabaseMetaData instance in an 
> instance variable. The DatabaseMetaData instance references the default 
> connection, and the connection can therefore not be gc'ed after the test has 
> completed.

--
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




[jira] [Updated] (DERBY-5717) TableFunctionTest keeps reference to connection after completion

2012-04-25 Thread Knut Anders Hatlen (JIRA)

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

Knut Anders Hatlen updated DERBY-5717:
--

Issue & fix info: Patch Available
Assignee: Knut Anders Hatlen

> TableFunctionTest keeps reference to connection after completion
> 
>
> Key: DERBY-5717
> URL: https://issues.apache.org/jira/browse/DERBY-5717
> Project: Derby
>  Issue Type: Bug
>  Components: Test
>Affects Versions: 10.9.0.0
>Reporter: Knut Anders Hatlen
>Assignee: Knut Anders Hatlen
> Attachments: d5717-1a.diff
>
>
> The test cases in TableFunctionTest store a DatabaseMetaData instance in an 
> instance variable. The DatabaseMetaData instance references the default 
> connection, and the connection can therefore not be gc'ed after the test has 
> completed.

--
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