Log warning when using inner-bean referenced without @Configuration [SPR-10369] #15002
Labels
status: bulk-closed
An outdated, unresolved issue that's closed in bulk as part of a cleaning process
Phil Webb opened SPR-10369 and commented
When using
@Bean
definitions it is easy to forget to use the@Configuration
annotation. We could parse the byte code of any class having an@Bean
method and detect inter-class calls to other such a methods using ASM.Affects: 3.2.1
Issue Links:
@Bean
'lite' mode and annotated classes in the reference manual@Configuration
@Bean
'lite' mode and annotated class support in the TestContext FrameworkThe text was updated successfully, but these errors were encountered: