jdk/test/sun/rmi/runtime/Log/6409194/NoConsoleOutput.java
changeset 40261 86a49ba76f52
parent 36928 71f5c0728dfc
child 41912 3b9082f87fea
equal deleted inserted replaced
40260:4e69b50ccd97 40261:86a49ba76f52
    66 
    66 
    67         // We instantiate a JavaVM that should not produce any console output
    67         // We instantiate a JavaVM that should not produce any console output
    68         // (neither on standard output, nor on standard err streams).
    68         // (neither on standard output, nor on standard err streams).
    69         JavaVM vm = new JavaVM(
    69         JavaVM vm = new JavaVM(
    70                 DoRMIStuff.class.getName(),
    70                 DoRMIStuff.class.getName(),
    71                 "-XaddExports:java.rmi/sun.rmi.registry=ALL-UNNAMED"
    71                 "--add-exports=java.rmi/sun.rmi.registry=ALL-UNNAMED"
    72                 + " -XaddExports:java.rmi/sun.rmi.server=ALL-UNNAMED"
    72                 + " --add-exports=java.rmi/sun.rmi.server=ALL-UNNAMED"
    73                 + " -XaddExports:java.rmi/sun.rmi.transport=ALL-UNNAMED"
    73                 + " --add-exports=java.rmi/sun.rmi.transport=ALL-UNNAMED"
    74                 + " -XaddExports:java.rmi/sun.rmi.transport.tcp=ALL-UNNAMED"
    74                 + " --add-exports=java.rmi/sun.rmi.transport.tcp=ALL-UNNAMED"
    75                 + " -Djava.util.logging.config.file="
    75                 + " -Djava.util.logging.config.file="
    76                 + loggingPropertiesFile, "", out, err);
    76                 + loggingPropertiesFile, "", out, err);
    77         vm.execute();
    77         vm.execute();
    78 
    78 
    79         /*
    79         /*