< prev index next >

jdk/test/sun/awt/shell/ShellFolderMemoryLeak.java

Print this page

        

@@ -91,11 +91,11 @@
 
         //creating java process which run same class with different Xmx value
         String command = javaPath + File.separator + "bin" + File.separator
                 + "java -Xmx256M" + arg1 + " -cp "
                 + classPathDir
-                + " -XaddExports:java.desktop/sun.awt.shell=ALL-UNNAMED"
+                + " --add-exports=java.desktop/sun.awt.shell=ALL-UNNAMED"
                 + " ShellFolderMemoryLeak " + arg2;
         process = Runtime.getRuntime().exec(command);
         BufferedReader input = null;
         InputStream errorStream = null;
         String line = null;
< prev index next >