File tree Expand file tree Collapse file tree 1 file changed +5
-1
lines changed
test/lib/jdk/test/lib/cds Expand file tree Collapse file tree 1 file changed +5
-1
lines changed Original file line number Diff line number Diff line change @@ -558,8 +558,12 @@ public static File getSourceFile(String name) {
558558
559559 // ============================= Logging
560560 public static OutputAnalyzer executeAndLog (ProcessBuilder pb , String logName ) throws Exception {
561+ return executeAndLog (pb .start (), logName );
562+ }
563+
564+ public static OutputAnalyzer executeAndLog (Process process , String logName ) throws Exception {
561565 long started = System .currentTimeMillis ();
562- OutputAnalyzer output = new OutputAnalyzer (pb . start () );
566+ OutputAnalyzer output = new OutputAnalyzer (process );
563567
564568 writeFile (getOutputFile (logName + ".stdout" ), output .getStdout ());
565569 writeFile (getOutputFile (logName + ".stderr" ), output .getStderr ());
You can’t perform that action at this time.
0 commit comments