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

GenericKeyedObjectPool.returnObject() checks for idle object too late

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.0, 2.1, 2.2, 2.3
    • 2.4.1
    • 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

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

            Dates

              Created:
              Updated:
              Resolved: