jdk/test/sun/rmi/runtime/Log/6409194/NoConsoleOutput.java
changeset 12692 72f0847dd477
parent 5506 202f599c92aa
child 13256 5886d7607acd
--- a/jdk/test/sun/rmi/runtime/Log/6409194/NoConsoleOutput.java	Fri May 11 12:53:03 2012 -0700
+++ b/jdk/test/sun/rmi/runtime/Log/6409194/NoConsoleOutput.java	Fri May 11 14:13:29 2012 -0700
@@ -60,9 +60,12 @@
             File.separatorChar + "logging.properties";
         ByteArrayOutputStream out = new ByteArrayOutputStream();
         ByteArrayOutputStream err = new ByteArrayOutputStream();
+
+        // We instantiate a JavaVM that should not produce any console output
+        // (neither on standard output, nor on standard err streams).
         JavaVM vm = new JavaVM(DoRMIStuff.class.getName(),
             "-Djava.util.logging.config.file=" + loggingPropertiesFile,
-                               "", out, err);
+                               "", out, err, false);
         vm.start();
         vm.getVM().waitFor();