spring-framework/spring-beans
Sam Brannen c811428512 Ignore nonexistent default-destroy-method in XML config
Prior to this commit, DisposableBeanAdapter attempted to invoke a
configured default-destroy-method on every bean, including beans that
do not declare the named destroy method, resulting in a
NullPointerException being thrown and logged at WARN level.

This commit addresses this by effectively ignoring any nonexistent
destroy method.

Closes gh-30301
2023-04-07 13:58:49 +02:00
..
src Ignore nonexistent default-destroy-method in XML config 2023-04-07 13:58:49 +02:00
spring-beans.gradle Update bean registration contribution tests to use TestCompiler 2022-03-10 16:06:52 +01:00