Skip to content

ConcurrentTaskScheduler and ConcurrentTaskExecutor can create an executor with no way to shut it down #27914

Closed
@snicoll

Description

@snicoll

There is a default constructor of both on these that creates a default executor. When the application shuts down, there's no way to shut down the executor as it isn't exposed.

We probably may want to enforce the wrapping feature instead and deprecate both constructors.

Metadata

Metadata

Assignees

Labels

in: coreIssues in core modules (aop, beans, core, context, expression)type: enhancementA general enhancement

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions