mirror of
https://github.com/spring-projects/spring-framework
synced 2026-06-08 17:33:33 +00:00
Adapted test for reflection hints on proxied user classes
See gh-29335
This commit is contained in:
+1
-2
@@ -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);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user