Stop using deprecated ReflectionHintsPredicates.onMethod() on main
This commit is contained in:
parent
702c63a7e8
commit
ca7ebd60ed
|
@ -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);
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue