You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by "Mark Thomas (JIRA)" <ji...@apache.org> on 2015/05/14 11:06:00 UTC
[jira] [Commented] (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: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)