You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@activemq.apache.org by "Jean-Baptiste Onofré (Jira)" <ji...@apache.org> on 2020/03/11 14:27:00 UTC

[jira] [Reopened] (AMQ-7403) Potential PreparedStatement/ResultSet leak in LeaseDatabaseLocker#determineTimeDifference

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

Jean-Baptiste Onofré reopened AMQ-7403:
---------------------------------------

This change breaks {{LeaseDatabaseLockerTest}} unit test. The test has be fixed.

> Potential PreparedStatement/ResultSet leak in LeaseDatabaseLocker#determineTimeDifference
> -----------------------------------------------------------------------------------------
>
>                 Key: AMQ-7403
>                 URL: https://issues.apache.org/jira/browse/AMQ-7403
>             Project: ActiveMQ
>          Issue Type: Bug
>          Components: JDBC
>    Affects Versions: 5.15.11
>            Reporter: Pascal Schumacher
>            Assignee: Jean-Baptiste Onofré
>            Priority: Minor
>             Fix For: 5.16.0, 5.15.12
>
>          Time Spent: 20m
>  Remaining Estimate: 0h
>
> LeaseDatabaseLocker#determineTimeDifference does not close the PreparedStatement and the ResultSet it uses/creates.
> This may cause a resource leak.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)