--- a/jdk/test/java/awt/xembed/server/RunTestXEmbed.java Wed Aug 10 22:48:25 2016 +0100
+++ b/jdk/test/java/awt/xembed/server/RunTestXEmbed.java Wed Aug 10 15:51:25 2016 -0700
@@ -73,10 +73,11 @@
enva[ind++] = "AWT_TOOLKIT=sun.awt.X11.XToolkit";
}
}
- Process proc = Runtime.getRuntime().exec(java_home +
- "/bin/java -XaddExports:java.desktop/sun.awt.X11=ALL-UNNAMED -Dawt.toolkit=sun.awt.X11.XToolkit TesterClient "
- + test.getName() + " " + window + buf,
- enva);
+ Process proc = Runtime.getRuntime().
+ exec(java_home +
+ "/bin/java --add-exports java.desktop/sun.awt.X11=ALL-UNNAMED -Dawt.toolkit=sun.awt.X11.XToolkit TesterClient "
+ + test.getName() + " " + window + buf,
+ enva);
System.err.println("Test for " + test.getName() + " has started.");
log.fine("Test for " + test.getName() + " has started.");
new InputReader(proc.getInputStream());