jdk/test/java/lang/reflect/Proxy/ProxyClassAccessTest.java
changeset 40261 86a49ba76f52
parent 38457 3d019217e322
child 43712 5dfd0950317c
--- a/jdk/test/java/lang/reflect/Proxy/ProxyClassAccessTest.java	Wed Aug 10 22:48:25 2016 +0100
+++ b/jdk/test/java/lang/reflect/Proxy/ProxyClassAccessTest.java	Wed Aug 10 15:51:25 2016 -0700
@@ -64,7 +64,7 @@
     public void compileAll() throws Exception {
         for (String mn : modules) {
             Path msrc = SRC_DIR.resolve(mn);
-            assertTrue(CompilerUtils.compile(msrc, MODS_DIR, "-modulesourcepath", SRC_DIR.toString()));
+            assertTrue(CompilerUtils.compile(msrc, MODS_DIR, "--module-source-path", SRC_DIR.toString()));
         }
     }
 
@@ -73,7 +73,7 @@
      */
     @Test
     public void runTest() throws Exception {
-        int exitValue = executeTestJava("-mp", MODS_DIR.toString(),
+        int exitValue = executeTestJava("--module-path", MODS_DIR.toString(),
                                         "-m", "test/jdk.test.ProxyClassAccess")
                             .outputTo(System.out)
                             .errorTo(System.out)