Skip to content

Commit 5ff5553

Browse files
committed
Adapted test for reflection hints on proxied user classes
See gh-29335
1 parent f6708d1 commit 5ff5553

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

spring-context/src/test/java/org/springframework/context/annotation/AnnotationConfigApplicationContextTests.java

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -475,8 +475,7 @@ void refreshForAotRegisterHintsForTargetOfCglibProxy() {
475475
RuntimeHints runtimeHints = new RuntimeHints();
476476
context.refreshForAotProcessing(runtimeHints);
477477
assertThat(RuntimeHintsPredicates.reflection().onType(TypeReference.of(CglibConfiguration.class))
478-
.withMemberCategories(MemberCategory.INTROSPECT_DECLARED_CONSTRUCTORS,
479-
MemberCategory.INVOKE_DECLARED_METHODS))
478+
.withMemberCategories(MemberCategory.INVOKE_PUBLIC_METHODS))
480479
.accepts(runtimeHints);
481480
}
482481

0 commit comments

Comments
 (0)