Skip to content

Log warning when using inner-bean referenced without @Configuration [SPR-10369] #15002

@spring-projects-issues

Description

@spring-projects-issues

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:

Metadata

Metadata

Assignees

No one assigned

    Labels

    status: bulk-closedAn outdated, unresolved issue that's closed in bulk as part of a cleaning process

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions