-
Notifications
You must be signed in to change notification settings - Fork 38.8k
Closed
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: regressionA bug that is also a regressionA bug that is also a regression
Milestone
Description
After upgrading to Sprint Boot 3.4.0, I got this error:
> Task :compileAotTestJava FAILED
C:\Users\fouad\IdeaProjects\spring-boot-3.4-bug\build\generated\aotTestSources\io\fouad\SecurityConfig__TestContext001_BeanDefinitions.java:34: error: incompatible types: BeanInstanceSupplier<SecurityConfig$$SpringCGLIB$$0> cannot be converted to InstanceSupplier<SecurityConfig>
InstanceSupplier<SecurityConfig> instanceSupplier = getSecurityConfigInstanceSupplier();
^
Here is a reproducer: https://github.com/Eng-Fouad/spring-boot-3.4-bug
Metadata
Metadata
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: regressionA bug that is also a regressionA bug that is also a regression