mirror of
https://github.com/spring-projects/spring-framework
synced 2026-06-08 17:33:33 +00:00
d7d474f658
Spring Framework 5.2 introduced support for caching @ControllerAdvice beans; however, this caching was also applied incorrectly to non-singleton beans. This commit addresses this regression by only caching singleton @ControllerAdvice beans. Closes gh-24157