< prev index next >
test/lib/jdk/test/lib/apps/LingeredApp.java
Print this page
rev 51638 : [mq]: 8210112
*** 144,154 ****
public OutputBuffer getOutput() {
if (appProcess.isAlive()) {
throw new RuntimeException("Process is still alive. Can't get its output.");
}
if (output == null) {
! output = new OutputBuffer(stdoutBuffer.toString(), stderrBuffer.toString());
}
return output;
}
/*
--- 144,154 ----
public OutputBuffer getOutput() {
if (appProcess.isAlive()) {
throw new RuntimeException("Process is still alive. Can't get its output.");
}
if (output == null) {
! output = OutputBuffer.of(stdoutBuffer.toString(), stderrBuffer.toString());
}
return output;
}
/*
< prev index next >