Closed
Description
The @Lazy
support for @Resource
injection points (as implemented in CommonAnnotationBeanPostProcessor
) can lead to double proxying in case of fallback autowiring when no bean of the given name could be found, since DefaultListableBeanFactory.resolveDependency
performs its own lazy proxy resolution in such a scenario. Addressing this through a refactored resolution algorithm also aligns with our upcoming AOT support for @Resource
(#29614).