Skip to content

Configuration class with Bean factory method on an interface generates wrong target with AOT #32609

Closed
@MartinLei

Description

@MartinLei

Spring-Boot version 3.2.4

The processAot task does not generate the right BeanDefinitions files, if a configuration class uses composition of beans trough interfaces.

See showcase project

Metadata

Metadata

Assignees

Labels

in: coreIssues in core modules (aop, beans, core, context, expression)theme: aotAn issue related to Ahead-of-time processingtype: bugA general bug

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions