[ 
http://issues.apache.org/jira/browse/POOL-91?page=comments#action_12458821 ] 
            
Holger Hoffstätte commented on POOL-91:
---------------------------------------

Hi - I've been following this thread for a while and understand the pros and 
cons of both the lenient and strict approaches for borrowObject, though I'm 
undecded about the null vs. exception behaviour. Anyway, my question is: 
wouldn't this be better handled by a decorated factory instead of pluggable 
strategies, which will only make things more complicated? After all this 
behaviour is very much a one-time/configuration thing.


> StackObjectPool.borrowObject infinate loop when makeObject returns null
> -----------------------------------------------------------------------
>
>                 Key: POOL-91
>                 URL: http://issues.apache.org/jira/browse/POOL-91
>             Project: Commons Pool
>          Issue Type: Bug
>            Reporter: Sandy McArthur
>         Assigned To: Sandy McArthur
>         Attachments: sample-borrow-fail-pool-policy.tar.bz2
>
>
> StackObjectPool.borrowObject has a infinate loop when makeObject returns null.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to