< prev index next >

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

Print this page

        

*** 91,101 **** //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" + " ShellFolderMemoryLeak " + arg2; process = Runtime.getRuntime().exec(command); BufferedReader input = null; InputStream errorStream = null; String line = null; --- 91,101 ---- //creating java process which run same class with different Xmx value String command = javaPath + File.separator + "bin" + File.separator + "java -Xmx256M" + arg1 + " -cp " + classPathDir ! + " --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 >