-
Notifications
You must be signed in to change notification settings - Fork 38.6k
Open
Labels
in: coreIssues in core modules (aop, beans, core, context, expression)Issues in core modules (aop, beans, core, context, expression)theme: aotAn issue related to Ahead-of-time processingAn issue related to Ahead-of-time processingtype: enhancementA general enhancementA general enhancement
Milestone
Description
As discussed with @snicoll and @jhoeller while working on #32719, InstanceSupplierCodeGenerator#generateCode
currently does not perform the same checks than org.springframework.beans.factory.support.ConstructorResolver#instantiateUsingFactoryMethod
except the recent suspending function check added recently.
It would be nice from a DevXP and consistency perspective if it could perform AOT some of those checks (like the void return type check for example).
Metadata
Metadata
Assignees
Labels
in: coreIssues in core modules (aop, beans, core, context, expression)Issues in core modules (aop, beans, core, context, expression)theme: aotAn issue related to Ahead-of-time processingAn issue related to Ahead-of-time processingtype: enhancementA general enhancementA general enhancement