langtools/test/tools/javac/fatalErrors/NoJavaLangTest.java
changeset 40308 274367a99f98
parent 36778 e04318f39f92
child 42407 f3702cff2933
--- a/langtools/test/tools/javac/fatalErrors/NoJavaLangTest.java	Wed Aug 10 13:52:02 2016 -0700
+++ b/langtools/test/tools/javac/fatalErrors/NoJavaLangTest.java	Wed Aug 10 15:47:46 2016 -0700
@@ -88,7 +88,7 @@
                 .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);
     }