commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mark Thomas (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (POOL-285) GenericKeyedObjectPool.returnObject() checks for idle object too late
Date Thu, 14 May 2015 09:06:00 GMT

    [ https://issues.apache.org/jira/browse/POOL-285?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14543411#comment-14543411
] 

Mark Thomas commented on POOL-285:
----------------------------------

+1

> 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)

Mime
View raw message