changeset 9798:65e0a0183b1c

8031765: Child process error stream is not empty! Reviewed-by: anthony, serb
author pchelko
date Wed, 02 Apr 2014 16:13:24 +0400
parents 0f678d12d712
children dc1cab441d6b
files test/java/awt/regtesthelpers/process/ProcessCommunicator.java
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/test/java/awt/regtesthelpers/process/ProcessCommunicator.java	Sun Mar 02 19:27:43 2014 +0000
+++ b/test/java/awt/regtesthelpers/process/ProcessCommunicator.java	Wed Apr 02 16:13:24 2014 +0400
@@ -81,7 +81,7 @@
     public static ProcessResults executeChildProcess(final Class classToExecute,
                            final String [] args)
     {
-        return executeChildProcess(classToExecute, " ", args);
+        return executeChildProcess(classToExecute, System.getProperty("java.class.path"), args);
     }
 
     /**