Stop using deprecated ReflectionHintsPredicates.onMethod() on main

This commit is contained in:
Sam Brannen
2025-03-04 11:21:37 +01:00
parent 702c63a7e8
commit ca7ebd60ed

View File

@@ -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);
}