--- old/test/java/awt/xembed/server/TestXEmbedServerJava.java 2016-03-24 18:07:28.421313111 +0300 +++ new/test/java/awt/xembed/server/TestXEmbedServerJava.java 2016-03-24 18:07:28.329312405 +0300 @@ -26,6 +26,7 @@ * @bug 4931668 * @summary Tests XEmbed server/client functionality * @author denis mikhalkin: area=awt.xembed + * @requires (!(os.family=="mac") & !(os.family=="windows")) * @modules java.desktop/sun.awt * @compile JavaClient.java TesterClient.java TestXEmbedServer.java * @run main/manual TestXEmbedServerJava @@ -38,9 +39,6 @@ public class TestXEmbedServerJava extends TestXEmbedServer { public static void main(String[] args) { - if (System.getProperty("os.name").toLowerCase().startsWith("win")) { - return; - } // Enabled XEmbed System.setProperty("sun.awt.xembedserver", "true"); @@ -78,7 +76,7 @@ public Process startClient(Rectangle[] bounds, long window) { try { String java_home = System.getProperty("java.home"); - return Runtime.getRuntime().exec(java_home + "/bin/java JavaClient " + window); + return Runtime.getRuntime().exec(java_home + "/bin/java -XaddExports:java.desktop/sun.awt.X11=ALL-UNNAMED JavaClient " + window); } catch (IOException ex1) { ex1.printStackTrace(); }