-
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)status: backportedAn issue that has been backported to maintenance branchesAn issue that has been backported to maintenance branchestype: bugA general bugA general bug
Milestone
Description
Madhura Bhave opened SPR-16564 and commented
ConfigurationClassParser has a sanity test to ensure that annotations can be read and in case of an Exception, it falls back to ASM. On Google App Engine classType.getAnnotations() does not throw an Exception if a class is not found and instead the annotation value looks something like this value=sun.reflect.annotation.TypeNotPresentExceptionProxy.
This causes unexpected behavior in Spring Boot's OnClassCondition as the metadata is not an AnnotationMetadataReadingVisitor.
Affects: 4.3.14, 5.0.4
Issue Links:
- @PropertySources fails on JDK 7 due to @Repeatable [SPR-11086] #15712
@PropertySourcesfails on JDK 7 due to@Repeatable - Support @Configuration class parsing fallback to ASM [SPR-10646] #15274 Support
@Configurationclass parsing fallback to ASM
Referenced from: commits 7cafa67, 967a2ef, 50e980c
Backported to: 4.3.15
Metadata
Metadata
Assignees
Labels
in: coreIssues in core modules (aop, beans, core, context, expression)Issues in core modules (aop, beans, core, context, expression)status: backportedAn issue that has been backported to maintenance branchesAn issue that has been backported to maintenance branchestype: bugA general bugA general bug