Skip to content

Fail fast if a @Bean method declares @Autowired as well #33051

Closed
@jhoeller

Description

@jhoeller

Along the lines of #31007 in 6.1, we intend to tighten @Bean processing further in 6.2: rejecting an accidental @Autowired annotation on a @Bean method, following up on #33030.

Metadata

Metadata

Assignees

Labels

in: coreIssues in core modules (aop, beans, core, context, expression)type: enhancementA general enhancement

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions