Uploaded image for project: 'Commons Pool'
  1. Commons Pool
  2. POOL-285

GenericKeyedObjectPool.returnObject() checks for idle object too late

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.0, 2.1, 2.2, 2.3
    • Fix Version/s: 2.4.1
    • Labels:
      None

      Description

      GenericKeyedObjectPool.returnObject() checks if the object was already returned to the pool after it has performed validation (if reqd) and after the object has been passivated.

      This seems wrong - surely if the object has already been returned to the pool it should not be validated or passivated again?

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              sebb Sebb
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: