--- 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;