< prev index next >

jdk/test/java/lang/reflect/Module/access/AccessTest.java

Print this page

        

@@ -70,12 +70,12 @@
     /**
      * Run the test
      */
     public void runTest() throws Exception {
         int exitValue
-            = executeTestJava("-mp", MODS_DIR.toString(),
-                              "-addmods", "target",
+            = executeTestJava("--module-path", MODS_DIR.toString(),
+                              "--add-modules", "target",
                               "-m", "test/test.Main")
                 .outputTo(System.out)
                 .errorTo(System.out)
                 .getExitValue();
 
< prev index next >