equal
deleted
inserted
replaced
71 enva[ind++] = entry.getKey() + "=" + entry.getValue(); |
71 enva[ind++] = entry.getKey() + "=" + entry.getValue(); |
72 } else { |
72 } else { |
73 enva[ind++] = "AWT_TOOLKIT=sun.awt.X11.XToolkit"; |
73 enva[ind++] = "AWT_TOOLKIT=sun.awt.X11.XToolkit"; |
74 } |
74 } |
75 } |
75 } |
76 Process proc = Runtime.getRuntime().exec(java_home + |
76 Process proc = Runtime.getRuntime(). |
77 "/bin/java -XaddExports:java.desktop/sun.awt.X11=ALL-UNNAMED -Dawt.toolkit=sun.awt.X11.XToolkit TesterClient " |
77 exec(java_home + |
78 + test.getName() + " " + window + buf, |
78 "/bin/java --add-exports java.desktop/sun.awt.X11=ALL-UNNAMED -Dawt.toolkit=sun.awt.X11.XToolkit TesterClient " |
79 enva); |
79 + test.getName() + " " + window + buf, |
|
80 enva); |
80 System.err.println("Test for " + test.getName() + " has started."); |
81 System.err.println("Test for " + test.getName() + " has started."); |
81 log.fine("Test for " + test.getName() + " has started."); |
82 log.fine("Test for " + test.getName() + " has started."); |
82 new InputReader(proc.getInputStream()); |
83 new InputReader(proc.getInputStream()); |
83 new InputReader(proc.getErrorStream()); |
84 new InputReader(proc.getErrorStream()); |
84 try { |
85 try { |