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

Adam Carlile updated DIRMINA-1090:
----------------------------------
    Priority: Minor  (was: Critical)

> OrderedThreadPoolExecutor constructor throws exception if corePoolsize is > 1
> -----------------------------------------------------------------------------
>
>                 Key: DIRMINA-1090
>                 URL: https://issues.apache.org/jira/browse/DIRMINA-1090
>             Project: MINA
>          Issue Type: Bug
>          Components: Core
>    Affects Versions: 2.0.19
>            Reporter: Adam Carlile
>            Priority: Minor
>
> In OrderedThreadPoolExecutor's constructor, 
> super.setCorePoolSize(corePoolSize);
> is set before 
> super.setMaximumPoolSize(maximumPoolSize);
> The setCorePoolSize has a check for maxPoolSize < corePoolSize and throws an 
> exception as default max size is set to 1.
> Re-ordering the two setters should solve the issue
>  



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to