[jboss-jira] [JBoss JIRA] (JBJCA-1356) BaseWrapperManagedConnection.unlock fails to unlock

Flavia Rainone (JIRA) issues at jboss.org
Tue Oct 31 02:37:00 EDT 2017


    [ https://issues.jboss.org/browse/JBJCA-1356?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13483730#comment-13483730 ] 

Flavia Rainone commented on JBJCA-1356:
---------------------------------------

[~stephen.fikes] You're right! I think that [~maeste] needs to update the Jira to mark 1.4.7 as unreleased.
The commit for branch 1.4 is here https://github.com/fl4via/ironjacamar/commit/cc26b3a113c80a3178867e1c189b1fd75e3871cd

> BaseWrapperManagedConnection.unlock fails to unlock
> ---------------------------------------------------
>
>                 Key: JBJCA-1356
>                 URL: https://issues.jboss.org/browse/JBJCA-1356
>             Project: IronJacamar
>          Issue Type: Bug
>    Affects Versions: 	 WildFly/IronJacamar 1.4.2.Final
>            Reporter: Flavia Rainone
>            Assignee: Flavia Rainone
>             Fix For: 	 WildFly/IronJacamar 1.4.3.Final
>
>
> There is a possibility of unlock missing the call to reentrantLock.unlock:
> {noformat}
> protected void unlock()
>    {
>       if (tryLock < 0)
>          return;
>       if (getLog().isTraceEnabled())
>          dumpLockInformation(false);
>       if (lock.isHeldByCurrentThread())
>          lock.unlock();
>    }
> {noformat}
> This bug is random.



--
This message was sent by Atlassian JIRA
(v7.5.0#75005)


More information about the jboss-jira mailing list