--- old/jdk/test/java/nio/channels/SocketChannel/SocketOptionTests.java 2016-08-08 16:32:52.000000000 -0700 +++ new/jdk/test/java/nio/channels/SocketChannel/SocketOptionTests.java 2016-08-08 16:32:52.000000000 -0700 @@ -26,7 +26,7 @@ * @summary Unit test to check SocketChannel 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.*;