Uploaded image for project: 'IronJacamar'
  1. IronJacamar
  2. JBJCA-1356

BaseWrapperManagedConnection.unlock fails to unlock

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • None
    • WildFly/IronJacamar 1.4.2.Final
    • None
    • None

      There is a possibility of unlock missing the call to reentrantLock.unlock:

      protected void unlock()
         {
            if (tryLock < 0)
               return;
      
            if (getLog().isTraceEnabled())
               dumpLockInformation(false);
      
            if (lock.isHeldByCurrentThread())
               lock.unlock();
         }
      

      This bug is random.

              flaviarnn Flavia Rainone
              flaviarnn Flavia Rainone
              Votes:
              0 Vote for this issue
              Watchers:
              8 Start watching this issue

                Created:
                Updated:
                Resolved: