Adapted test for reflection hints on proxied user classes

See gh-29335
This commit is contained in:
Juergen Hoeller
2022-10-20 09:35:57 +02:00
parent f6708d194c
commit 5ff5553878

View File

@@ -475,8 +475,7 @@ class AnnotationConfigApplicationContextTests {
RuntimeHints runtimeHints = new RuntimeHints();
context.refreshForAotProcessing(runtimeHints);
assertThat(RuntimeHintsPredicates.reflection().onType(TypeReference.of(CglibConfiguration.class))
.withMemberCategories(MemberCategory.INTROSPECT_DECLARED_CONSTRUCTORS,
MemberCategory.INVOKE_DECLARED_METHODS))
.withMemberCategories(MemberCategory.INVOKE_PUBLIC_METHODS))
.accepts(runtimeHints);
}