< prev index next >

test/lib/jdk/test/lib/apps/LingeredApp.java

Print this page
rev 51638 : [mq]: 8210112

@@ -144,11 +144,11 @@
     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());
+            output = OutputBuffer.of(stdoutBuffer.toString(), stderrBuffer.toString());
         }
         return output;
     }
 
     /*
< prev index next >