< prev index next >

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

Print this page

        

@@ -104,11 +104,11 @@
             System.err.println("start rmid with inherited channel");
             RMID.removeLog();
             rmid = RMID.createRMID(System.out, System.err, true, true,
                                    TestLibrary.INHERITEDCHANNELNOTSERVERSOCKET_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=InheritedChannelNotServerSocket$SP");
             rmid.start();
 
             /*
              * Get activation system and wait to be notified via callback
< prev index next >