You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by "Phil Steitz (JIRA)" <ji...@apache.org> on 2015/05/14 22:06:59 UTC

[jira] [Resolved] (POOL-285) GenericKeyedObjectPool.returnObject() checks for idle object too late

     [ https://issues.apache.org/jira/browse/POOL-285?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Phil Steitz resolved POOL-285.
------------------------------
    Resolution: Fixed

Fixed in r1679448

> GenericKeyedObjectPool.returnObject() checks for idle object too late
> ---------------------------------------------------------------------
>
>                 Key: POOL-285
>                 URL: https://issues.apache.org/jira/browse/POOL-285
>             Project: Commons Pool
>          Issue Type: Bug
>    Affects Versions: 2.0, 2.1, 2.2, 2.3
>            Reporter: Sebb
>             Fix For: 2.4
>
>
> 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?



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)