mirror of
https://github.com/spring-projects/spring-framework.git
synced 2026-09-17 16:39:29 +00:00
Stop using deprecated ReflectionHintsPredicates.onMethod() on main
This commit is contained in:
+1
-1
@@ -49,7 +49,7 @@ class AotContextLoaderRuntimeHintsTests {
|
||||
|
||||
generator.processAheadOfTime(Stream.of(TestCase.class));
|
||||
|
||||
assertThat(reflection().onMethod(ConfigWithMain.class, "main").invoke()).accepts(runtimeHints);
|
||||
assertThat(reflection().onMethodInvocation(ConfigWithMain.class, "main")).accepts(runtimeHints);
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user