test/java/nio/channels/SocketChannel/SocketOptionTests.java

Print this page
rev 14282 : 8044773: Refactor jdk.net API so that it can be moved out of the base module
Reviewed-by:

*** 20,32 **** * or visit www.oracle.com if you need additional information or have any * questions. */ /* @test ! * @bug 4640544 * @summary Unit test to check SocketChannel setOption/getOption/options * methods. */ import java.nio.*; import java.nio.channels.*; import java.net.*; --- 20,34 ---- * or visit www.oracle.com if you need additional information or have any * questions. */ /* @test ! * @bug 4640544 8044773 * @summary Unit test to check SocketChannel setOption/getOption/options * methods. + * @run main SocketOptionTests + * @run main/othervm -Djdk.launcher.limitmods=java.base SocketOptionTests */ import java.nio.*; import java.nio.channels.*; import java.net.*;