Closing an ApplicationContext leads to Exception at ExecutorServiceAdapter #29892
Labels
in: core
Issues in core modules (aop, beans, core, context, expression)
status: backported
An issue that has been backported to maintenance branches
type: bug
A general bug
Milestone
Affects: 6.0.4
Problem
When an ApplicationContext with a
org.springframework.core.task.support.ExecutorServiceAdapter
bean present is closed, theshutdown()
method ofExecutorServiceAdapter
gets called which throws anIllegalStateException
leading to a warning:Steps to reproduce
ExecutorServiceAdapter
beanOr have a look at a sample project that reproduces the error.
The text was updated successfully, but these errors were encountered: