[ 
https://issues.apache.org/jira/browse/POOL-95?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12490066
 ] 

Henri Yandell commented on POOL-95:
-----------------------------------

Fixed in trunk:

 svn ci -m "Fixing the Config.softMinEvictableIdleTimeMillis handling as per 
POOL-95"
Sending        src/java/org/apache/commons/pool/impl/GenericObjectPool.java
Transmitting file data .
Committed revision 530413.

Also takes care of a similar bug in the setConfig method.

Do we also apply bugs to the branch, or shall we just wait for the branch to be 
merged into trunk someday?


> GenericObjectPool constructor with GenericObjectPool.Config ignores 
> softMinEvictableIdleTimeMillis
> --------------------------------------------------------------------------------------------------
>
>                 Key: POOL-95
>                 URL: https://issues.apache.org/jira/browse/POOL-95
>             Project: Commons Pool
>          Issue Type: Bug
>    Affects Versions: 1.3, 2.0
>            Reporter: Christoph Grothaus
>            Priority: Minor
>         Attachments: GenericObjectPool.patch
>
>
> The GenericObjectPool(PoolableObjectFactory factory, GenericObjectPool.Config 
> config) constructor ignores the setting of softMinEvictableIdleTimeMillis 
> that is made in config.
> Reason: The abovementioned constructor calls the wrong constructor
> GenericObjectPool(PoolableObjectFactory factory, int maxActive, byte 
> whenExhaustedAction, long maxWait, int maxIdle, int minIdle, boolean 
> testOnBorrow, boolean testOnReturn, long timeBetweenEvictionRunsMillis, int 
> numTestsPerEvictionRun, long minEvictableIdleTimeMillis, boolean 
> testWhileIdle)
> instead of the correct one
> GenericObjectPool(PoolableObjectFactory factory, int maxActive, byte 
> whenExhaustedAction, long maxWait, int maxIdle, int minIdle, boolean 
> testOnBorrow, boolean testOnReturn, long timeBetweenEvictionRunsMillis, int 
> numTestsPerEvictionRun, long minEvictableIdleTimeMillis, boolean 
> testWhileIdle, long softMinEvictableIdleTimeMillis)

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


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

Reply via email to