mirror of
https://github.com/spring-projects/spring-framework.git
synced 2026-09-17 16:39:29 +00:00
The RuntimeBeanReference(name, type) constructor was introduced in 7.0; however, BeanDefinitionPropertyValueCodeGeneratorDelegates in our AOT infrastructure was not updated to support the new constructor. This commit revises BeanDefinitionPropertyValueCodeGeneratorDelegates to ensure that AOT generated code for a RuntimeBeanReference uses the RuntimeBeanReference(name, type) constructor, thereby retaining the originally configured bean name. See gh-35101 Closes gh-35913