[jboss-jira] [JBoss JIRA] (WFLY-8147) Possible leak of unclosed Statement in DatabaseTimerPersistence

Stuart Douglas (JIRA) issues at jboss.org
Thu Feb 16 16:17:01 EST 2017


     [ https://issues.jboss.org/browse/WFLY-8147?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Stuart Douglas moved JBEAP-8898 to WFLY-8147:
---------------------------------------------

              Project: WildFly  (was: JBoss Enterprise Application Platform)
                  Key: WFLY-8147  (was: JBEAP-8898)
             Workflow: GIT Pull Request workflow   (was: CDW with loose statuses v1)
          Component/s: EJB
                           (was: EJB)
    Affects Version/s:     (was: 7.1.0.DR12)


> Possible leak of unclosed Statement in DatabaseTimerPersistence
> ---------------------------------------------------------------
>
>                 Key: WFLY-8147
>                 URL: https://issues.jboss.org/browse/WFLY-8147
>             Project: WildFly
>          Issue Type: Bug
>          Components: EJB
>            Reporter: Stuart Douglas
>            Assignee: Stuart Douglas
>
> https://github.com/jbossas/jboss-eap7/blob/EAP_7.1.0.DR12-dev-2/ejb3/src/main/java/org/jboss/as/ejb3/timerservice/persistence/database/DatabaseTimerPersistence.java#L457
> On line 445, a {{Statement}} is obtained, but on line 457 the reference to it can be overwritten, in which case the {{finally}} block on line 496 won't close the previous {{Statement}}.



--
This message was sent by Atlassian JIRA
(v7.2.3#72005)


More information about the jboss-jira mailing list