8155086: Replace usage of -Djdk.launcher.limitmods in tests with -limitmods
Reviewed-by: alanb
This commit is contained in:
parent
d9d560f71b
commit
4d950890f2
@ -26,7 +26,7 @@
|
||||
* @bug 8036979 8072384 8044773
|
||||
* @run main/othervm -Xcheck:jni OptionsTest
|
||||
* @run main/othervm -Xcheck:jni -Djava.net.preferIPv4Stack=true OptionsTest
|
||||
* @run main/othervm -Djdk.launcher.limitmods=java.base OptionsTest
|
||||
* @run main/othervm -limitmods java.base OptionsTest
|
||||
*/
|
||||
|
||||
import java.lang.reflect.Method;
|
||||
|
@ -33,7 +33,7 @@ import java.util.List;
|
||||
* @summary Test checks that UnsupportedOperationException for unsupported
|
||||
* SOCKET_OPTIONS is thrown by both getOption() and setOption() methods.
|
||||
* @run main UnsupportedOptionsTest
|
||||
* @run main/othervm -Djdk.launcher.limitmods=java.base UnsupportedOptionsTest
|
||||
* @run main/othervm -limitmods java.base UnsupportedOptionsTest
|
||||
*/
|
||||
|
||||
public class UnsupportedOptionsTest {
|
||||
|
@ -25,7 +25,7 @@
|
||||
* @bug 4640544 8044773
|
||||
* @summary Unit test for setOption/getOption/options methods
|
||||
* @run main SocketOptionTests
|
||||
* @run main/othervm -Djdk.launcher.limitmods=java.base SocketOptionTests
|
||||
* @run main/othervm -limitmods java.base SocketOptionTests
|
||||
*/
|
||||
|
||||
import java.nio.*;
|
||||
|
@ -26,7 +26,7 @@
|
||||
* @summary Unit test for ServerSocketChannel setOption/getOption/options
|
||||
* methods.
|
||||
* @run main SocketOptionTests
|
||||
* @run main/othervm -Djdk.launcher.limitmods=java.base SocketOptionTests
|
||||
* @run main/othervm -limitmods java.base SocketOptionTests
|
||||
*/
|
||||
|
||||
import java.nio.*;
|
||||
|
@ -26,7 +26,7 @@
|
||||
* @summary Unit test to check SocketChannel setOption/getOption/options
|
||||
* methods.
|
||||
* @run main SocketOptionTests
|
||||
* @run main/othervm -Djdk.launcher.limitmods=java.base SocketOptionTests
|
||||
* @run main/othervm -limitmods java.base SocketOptionTests
|
||||
*/
|
||||
|
||||
import java.nio.*;
|
||||
|
Loading…
x
Reference in New Issue
Block a user