Qualifiers registered programmatically are not supported by AOT #30410
Labels
in: core
Issues in core modules (aop, beans, core, context, expression)
theme: aot
An issue related to Ahead-of-time processing
type: bug
A general bug
Milestone
Qualifiers aren't captured by AOT in the generated
BeanDefinitions
classes, leading to failures when running under AOT:In our specific case, they're custom qualifier annotations and definitions registered by a registry post-processor. It appears for simple annotated
Qualifier
beans, the framework is able to fallback and infer the qualifier.Example project:
https://github.com/DanielThomas/spring-aot-issues/tree/dannyt/qualifier-missing
Run and note the failure:
The text was updated successfully, but these errors were encountered: