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

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=24864

GenericKeyedObjectPoolFactory Config Constructor is incorrect

           Summary: GenericKeyedObjectPoolFactory Config Constructor is
                    incorrect
           Product: Commons
           Version: 1.1 Final
          Platform: All
               URL: http://jakarta.apache.org/commons/pool/apidocs/org/apach
                    e/commons/pool/impl/GenericObjectPoolFactory.html
        OS/Version: All
            Status: NEW
          Severity: Normal
          Priority: Other
         Component: Pool
        AssignedTo: [EMAIL PROTECTED]
        ReportedBy: [EMAIL PROTECTED]
                CC: [EMAIL PROTECTED]


The constructor GenericKeyedObjectPoolFactory(KeyedPoolableObjectFactory 
factory, GenericKeyedObjectPool.Config config) does not set the _maxTotal value 
correctly.  It should pass this value to the "master" constructor in the 
factory, but it inadvertantly was left out.  This leaves the _maxTotal set to 
GenericKeyedObjectPool.DEFAULT_MAX_TOTAL when it should be set to the passed in 
Config value.

The problem does not affect GenericObjectPoolFactory, it only affects the Keyed 
version.

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

Reply via email to