< prev index next >

test/tools/javac/fatalErrors/NoJavaLangTest.java

Print this page

        

@@ -86,11 +86,11 @@
                 .sources("module java.base { }")
                 .outdir("modules/java.base")
                 .run();
 
         // ideally we'd have a better message for this case
-        String[] mpOpts = { "-system", "none", "-modulepath", "modules" };
+        String[] mpOpts = { "--system", "none", "--module-path", "modules" };
         test(mpOpts, compilerErrorMessage);
     }
 
     private void test(String[] options, String expect) {
         System.err.println("Testing " + java.util.Arrays.toString(options));
< prev index next >