changeset 956:8e332f3bc3bf

runners: TextReportFormat accidentally closes the underlying stream; this may close System.out.
author shade
date Sat, 16 Aug 2014 00:13:11 +0400
parents d5526434fd4a
children 130caa12e774
files jmh-core/src/main/java/org/openjdk/jmh/runner/format/TextReportFormat.java
diffstat 1 files changed, 0 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/jmh-core/src/main/java/org/openjdk/jmh/runner/format/TextReportFormat.java	Fri Aug 15 18:38:54 2014 +0400
+++ b/jmh-core/src/main/java/org/openjdk/jmh/runner/format/TextReportFormat.java	Sat Aug 16 00:13:11 2014 +0400
@@ -163,7 +163,6 @@
         PrintWriter pw = new PrintWriter(out);
         ResultFormatFactory.getInstance(ResultFormatType.TEXT, pw).writeOut(runResults);
         pw.flush();
-        pw.close();
     }
 
 }