jdk/test/sun/tools/jmap/BasicJMapTest.java
changeset 27189 b90845965ee9
parent 24366 57c0a8b7a936
child 30376 2ccf2cf7ea48
child 30659 f7d610c0c95d
--- a/jdk/test/sun/tools/jmap/BasicJMapTest.java	Wed Oct 22 09:13:52 2014 +0200
+++ b/jdk/test/sun/tools/jmap/BasicJMapTest.java	Fri Oct 17 10:53:30 2014 +0200
@@ -91,7 +91,7 @@
 
         processBuilder.command(launcher.getCommand());
         System.out.println(Arrays.toString(processBuilder.command().toArray()).replace(",", ""));
-        OutputAnalyzer output = new OutputAnalyzer(processBuilder.start());
+        OutputAnalyzer output = ProcessTools.executeProcess(processBuilder);
         System.out.println(output.getOutput());
 
         return output;