@@ -47,11 +47,11 @@ /* * @test * @summary Verify jimage * @modules java.base/jdk.internal.jimage - * @run main/othervm -Djdk.launcher.addmods=ALL-SYSTEM VerifyJimage + * @run main/othervm --add-modules=ALL-SYSTEM VerifyJimage */ /** * This test runs in two modes: * (1) No argument: it verifies the jimage by loading all classes in the runtime