jdk/test/sun/awt/shell/ShellFolderMemoryLeak.java
changeset 40261 86a49ba76f52
parent 36511 9d0388c6b336
--- a/jdk/test/sun/awt/shell/ShellFolderMemoryLeak.java	Wed Aug 10 22:48:25 2016 +0100
+++ b/jdk/test/sun/awt/shell/ShellFolderMemoryLeak.java	Wed Aug 10 15:51:25 2016 -0700
@@ -93,7 +93,7 @@
         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;