// checks that queue.remainingCapacity()==0. I did not understand
// why, but to get the intended effect of waking up idle threads, I
// temporarily fake this condition.
- taskQueue.setForcedRemainingCapacity(0);
+ taskQueue.setForcedRemainingCapacity(Integer.valueOf(0));
}
// setCorePoolSize(0) wakes idle threads
<Class name="org.apache.naming.java.javaURLContextFactory" />
<Bug code="Nm" />
</Match>
+ <Match>
+ <!-- Yes the simple name is the same as the super class. Accept it. -->
+ <Class name="org.apache.tomcat.util.threads.ThreadPoolExecutor" />
+ <Bug code="Nm" />
+ </Match>
<!-- Generated code -->
<Match>
<Class name="org.apache.el.parser.ELParserTokenManager" />