8155086: Replace usage of -Djdk.launcher.limitmods in tests with -limitmods

Reviewed-by: alanb
This commit is contained in:
Chris Hegarty 2016-05-24 09:18:40 +01:00
parent d9d560f71b
commit 4d950890f2
5 changed files with 5 additions and 5 deletions

View File

@ -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;

View File

@ -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 {

View File

@ -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.*;

View File

@ -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.*;

View File

@ -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.*;