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

Bushov Alexander updated POOL-152:
----------------------------------

    Attachment: borrowObject.patch
                Test.java

example and patch

> GenericObjectPool hangs forever in borrowObject when newly created object is 
> not validated
> ------------------------------------------------------------------------------------------
>
>                 Key: POOL-152
>                 URL: https://issues.apache.org/jira/browse/POOL-152
>             Project: Commons Pool
>          Issue Type: Bug
>    Affects Versions: 1.5.2, 1.5.3
>            Reporter: Bushov Alexander
>         Attachments: borrowObject.patch, Test.java
>
>
> If your set GenericObjectPool parameters such as: maxActive = 1 and 
> whenExhaustedAction to block, testOnBorrow to true, call borrowObject that 
> fails in validation of newly created object then second call of borrowObject 
> will stuck.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to