mirror of
https://github.com/spring-projects/spring-framework
synced 2026-06-08 17:33:33 +00:00
0d2bfc926f
Previously, if `@Order` is specified on a `@Bean` method, and the candidate bean is defined in a parent context, its order wasn't taken into account when retrieving the bean from a child context. This commit makes sure the metadata of a bean is taken into consideration in all cases. Closes gh-29105