Bug 50003 - AbstractEndpoint.setMinSpareThreads calls executor.setCorePoolSize with incorrect parameter
AbstractEndpoint.setMinSpareThreads calls executor.setCorePoolSize with incor...
Status: RESOLVED FIXED
Product: Tomcat 7
Classification: Unclassified
Component: Connectors
7.0.2
All All
: P2 normal (vote)
: ---
Assigned To: Tomcat Developers Mailing List
:
Depends on:
Blocks:
  Show dependency tree
 
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.