]
Flavia Rainone updated JBJCA-1356:
----------------------------------
Git Pull Request:
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.