equal
deleted
inserted
replaced
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 /* |