< prev index next >

jdk/test/java/rmi/activation/rmidViaInheritedChannel/RmidViaInheritedChannel.java

Print this page

        

@@ -91,11 +91,11 @@
             System.err.println("start rmid with inherited channel");
             RMID.removeLog();
             rmid = RMID.createRMID(System.out, System.err, true, false,
                                    TestLibrary.RMIDVIAINHERITEDCHANNEL_ACTIVATION_PORT);
             rmid.addOptions(
-                "-XaddExports:java.base/sun.nio.ch=ALL-UNNAMED",
+                "--add-exports=java.base/sun.nio.ch=ALL-UNNAMED",
                 "-Djava.nio.channels.spi.SelectorProvider=RmidViaInheritedChannel$RmidSelectorProvider");
             if (System.getProperty("os.name").startsWith("Windows") &&
                 System.getProperty("os.version").startsWith("5."))
             {
                 /* Windows XP/2003 or older
< prev index next >