@@ -24,11 +24,11 @@ /* @test * @bug 4640544 8044773 * @summary Unit test for ServerSocketChannel setOption/getOption/options * methods. * @run main SocketOptionTests - * @run main/othervm -limitmods java.base SocketOptionTests + * @run main/othervm --limit-modules=java.base SocketOptionTests */ import java.nio.*; import java.nio.channels.*; import java.net.*;