Bug 50003 - AbstractEndpoint.setMinSpareThreads calls executor.setCorePoolSize with incorrect parameter
Summary: AbstractEndpoint.setMinSpareThreads calls executor.setCorePoolSize with incor...
Status: RESOLVED FIXED
Alias: None
Product: Tomcat 7
Classification: Unclassified
Component: Connectors (show other bugs)
Version: 7.0.2
Hardware: All All
: P2 normal (vote)
Target Milestone: ---
Assignee: Tomcat Developers Mailing List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-09-26 08:03 UTC by Sylvain Laurent
Modified: 2010-10-07 10:26 UTC (History)
0 users



Attachments
proposed patch for tc7 (839 bytes, patch)
2010-09-26 08:08 UTC, Sylvain Laurent
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Sylvain Laurent 2010-09-26 08:03:51 UTC
It's calling setCorePoolSize(maxThreads) instead of setCorePoolSize(minSpareThreads)
Comment 1 Sylvain Laurent 2010-09-26 08:08:27 UTC
Created attachment 26075 [details]
proposed patch for tc7

proposed patch for tc7.

The problem does not apply to tc6 because the AbstractEndpoint class does not exist in tc6
Comment 2 Mark Thomas 2010-10-07 10:26:31 UTC
This was spotted and fixed as part of work on another issue. The fix will be in 7.0.4 onwards.