Skip to content

Consistently support @Lazy as a meta-annotation at arbitrary depths #36306

@sbrannen

Description

@sbrannen

Overview

AnnotationConfigUtils currently looks up @Lazy as a meta-annotation at arbitrary depths (e.g., when used as a meta-meta-annotation) in processCommonDefinitionAnnotations(); whereas, ContextAnnotationAutowireCandidateResolver only finds @Lazy as a "directly present" meta-annotation in isLazy().

For consistency, we should find @Lazy as a meta-annotation at arbitrary depths in ContextAnnotationAutowireCandidateResolver as well.

Related Issues

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