**[Madhura Bhave](https://jira.spring.io/secure/ViewProfile.jspa?name=mbhave)** opened **[SPR-16564](https://jira.spring.io/browse/SPR-16564?redirect=false)** 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:** - #15712 `@PropertySources` fails on JDK 7 due to `@Repeatable` - #15274 Support `@Configuration` class parsing fallback to ASM **Referenced from:** commits https://github.com/spring-projects/spring-framework/commit/7cafa6764ce12191bd824da06b88729dffc20e69, https://github.com/spring-projects/spring-framework/commit/967a2ef2d20b7bc6f6bf79463ee15d7c3e2ec607, https://github.com/spring-projects/spring-framework/commit/50e980c02f0dba610303e064289be0420d1f6ce1 **Backported to:** [4.3.15](https://github.com/spring-projects/spring-framework/milestone/164?closed=1)