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

GenericKeyedObjectPool.returnObject() checks for idle object too late

VotersWatch issueWatchersLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    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

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

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

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment