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

Mark Thomas resolved POOL-195.
------------------------------

       Resolution: Fixed
    Fix Version/s: 2.0

I went with the final option.
                
> 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 is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to