AutowireCapableBeanFactory no longer autowiring since version 3.2.5 [SPR-11230] #15855
Labels
in: core
Issues in core modules (aop, beans, core, context, expression)
status: invalid
An issue that we don't feel is valid
Roberto Ruiz opened SPR-11230 and commented
I am trying to create some beans using AutowireCapableBeanFactory to configure preexisting objects, and DefaultListableBeanFactory to register beans as singletons
I create 2 simple beans: bean1 and bean2. Bean2 has an autowired reference to bean1
Till version 3.2.4, bean1 is autowired correctlly into bean2, but it stopped working after version 3.2.5
I attach an small test. Beans are created in spring.factory.configuration.MyConfig.
To execute test, just write "mvn clean test" in command line. Use Maven 3 and Java 7.
You may swap spring version editing pom.xml and changing "spring.version" property. Test will be passed with version 3.2.4.RELEASE, but not with 3.2.5.RELEASE, 3.2.6.RELEASE or 4.0.0.RELEASE
Affects: 3.2.5, 3.2.6, 4.0 GA
Attachments:
Issue Links:
The text was updated successfully, but these errors were encountered: