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

Phil Steitz closed POOL-195.
----------------------------

> Generic[Keyed]ObjectPool.startEvictor() is overrideable yet is called from 
> the ctor
> -----------------------------------------------------------------------------------
>
>                 Key: POOL-195
>                 URL: https://issues.apache.org/jira/browse/POOL-195
>             Project: Commons Pool
>          Issue Type: Bug
>            Reporter: Sebb
>             Fix For: 2.0
>
>
> The method Generic[Keyed]ObjectPool.startEvictor() is overrideable yet is 
> called from the ctor - this can cause problems with subclasses, as the class 
> may be only partially constructed when the method is invoked.
> Either the method should be final, or private, or the code could be extracted 
> into a private method called by the ctor.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to