< prev index next >

jdk/test/sun/rmi/runtime/Log/6409194/NoConsoleOutput.java

Print this page

        

*** 66,79 **** // 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(), ! "-XaddExports:java.rmi/sun.rmi.registry=ALL-UNNAMED" ! + " -XaddExports:java.rmi/sun.rmi.server=ALL-UNNAMED" ! + " -XaddExports:java.rmi/sun.rmi.transport=ALL-UNNAMED" ! + " -XaddExports:java.rmi/sun.rmi.transport.tcp=ALL-UNNAMED" + " -Djava.util.logging.config.file=" + loggingPropertiesFile, "", out, err); vm.execute(); /* --- 66,79 ---- // 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(), ! "--add-exports=java.rmi/sun.rmi.registry=ALL-UNNAMED" ! + " --add-exports=java.rmi/sun.rmi.server=ALL-UNNAMED" ! + " --add-exports=java.rmi/sun.rmi.transport=ALL-UNNAMED" ! + " --add-exports=java.rmi/sun.rmi.transport.tcp=ALL-UNNAMED" + " -Djava.util.logging.config.file=" + loggingPropertiesFile, "", out, err); vm.execute(); /*
< prev index next >