< prev index next >

jdk/test/tools/launcher/ToolsOpts.java

Print this page

        

@@ -149,11 +149,11 @@
      */
     static void runTestOptions() throws IOException {
         init();
         TestResult tr;
         int jpos = -1;
-        String xPatch = "-J-Xpatch:jdk.compiler=jdk.compiler";
+        String xPatch = "-J--patch-module=jdk.compiler=jdk.compiler";
         for (String arg[] : optionPatterns) {
             jpos = indexOfJoption(arg);
             //Build a cmd string for output in results reporting.
             String cmdString = javacCmd + " " + xPatch;
             for (String opt : arg) {
< prev index next >