Closed
Description
Dave Syer opened SPR-13930 and commented
The fact that ThreadPoolTaskExecutor.initializeExecutor()
is protected makes it a public extension point, and it returns an Executor
, so you might expect that overriding it will result in the return value being used at run time. In fact it is not because the ThreadPoolTaskExecutor
does (though its parent class) set a field called "executor" but then never uses it, preferring instead to use its own more specialized ThreadPoolExecutor
.
Affects: 4.2.4
Referenced from: commits 25be5e0