You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@commons.apache.org by bu...@apache.org on 2005/09/19 23:42:06 UTC

DO NOT REPLY [Bug 36719] New: - Most ObjectPool.borrowObject() implementations do not call validateObject()

DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG�
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=36719>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND�
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=36719

           Summary: Most ObjectPool.borrowObject() implementations do not
                    call validateObject()
           Product: Commons
           Version: unspecified
          Platform: All
        OS/Version: other
            Status: NEW
          Severity: major
          Priority: P2
         Component: Pool
        AssignedTo: commons-dev@jakarta.apache.org
        ReportedBy: Sandy@McArthur.org


The borrowObject() methods of StackObjectPool and SoftReferenceObjectPool do not
check the validateObject() method before returning an object.

This goes against the expected behavior diagramed in
http://jakarta.apache.org/commons/pool/guide/sequencediagrams.html

GenericObjectPool does have correct behavior.

I'll try to submit a patch if I have time latter this week.

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

---------------------------------------------------------------------
To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org