8180393: [TESTBUG] CDSTestUtils property test.cds.copy.child.stdout should be true by default
authormseledtsov
Wed, 17 May 2017 11:28:56 -0700
changeset 46220 c9a98ebe678b
parent 46219 656fa621d3ec
child 46221 d5f0bab7d85c
8180393: [TESTBUG] CDSTestUtils property test.cds.copy.child.stdout should be true by default Summary: Changed default value of test.cds.copy.child.stdout to true Reviewed-by: hseigel, iklam, sspitsyn
test/lib/jdk/test/lib/cds/CDSTestUtils.java
--- a/test/lib/jdk/test/lib/cds/CDSTestUtils.java	Tue May 16 01:11:26 2017 +0200
+++ b/test/lib/jdk/test/lib/cds/CDSTestUtils.java	Wed May 17 11:28:56 2017 -0700
@@ -36,10 +36,9 @@
 public class CDSTestUtils {
     // Specify this property to copy sdandard output of the child test process to
     // the parent/main stdout of the test.
-    // By default such output is logged into a file, but not copied into the main stdout
-    // to avoid excessive log pollution. See executeAndLog() for details
+    // By default such output is logged into a file, and is copied into the main stdout.
     public static final boolean CopyChildStdoutToMainStdout =
-        Boolean.getBoolean("test.cds.copy.child.stdout");
+        Boolean.valueOf(System.getProperty("test.cds.copy.child.stdout", "true"));
 
     // This property is passed to child test processes
     public static final String TestTimeoutFactor = System.getProperty("test.timeout.factor", "1.0");