You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@mina.apache.org by "Emmanuel Lecharny (JIRA)" <ji...@apache.org> on 2018/07/17 08:52:00 UTC
[jira] [Resolved] (DIRMINA-1090) OrderedThreadPoolExecutor
constructor throws exception if corePoolsize is > 1
[ https://issues.apache.org/jira/browse/DIRMINA-1090?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Emmanuel Lecharny resolved DIRMINA-1090.
----------------------------------------
Resolution: Duplicate
Fix Version/s: 2.0.20
Thanks ! This has been fixed. Check DIRMINA-1088
> 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
> Fix For: 2.0.20
>
>
> 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)