See gh-42340
This commit is contained in:
Johnny Lim
2024-09-18 00:30:20 +09:00
committed by Stéphane Nicoll
parent 7eaf6d1a96
commit a0d1c10d8a
6 changed files with 6 additions and 5 deletions

View File

@@ -66,7 +66,7 @@ class MainMethodTests {
}
@Test // gh-39733
void vaiJarLauncher() throws Exception {
void viaJarLauncher() throws Exception {
FakeJarLauncher.action = (args) -> Valid.main(args);
MainMethod method = new TestThread(FakeJarLauncher::main).test();
Method expectedMain = Valid.class.getMethod("main", String[].class);