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

BaseWrapperManagedConnection.unlock fails to unlock

    XMLWordPrintable

Details

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

    Description

      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.

      Attachments

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: