changeset 14594:1d0109ebf779

8155086: Replace usage of -Djdk.launcher.limitmods in tests with -limitmods Reviewed-by: alanb
author chegar
date Tue, 24 May 2016 09:18:40 +0100
parents 789b675ab134
children 4870cc1254ec
files test/java/net/SocketOption/OptionsTest.java test/java/net/SocketOption/UnsupportedOptionsTest.java test/java/nio/channels/DatagramChannel/SocketOptionTests.java test/java/nio/channels/ServerSocketChannel/SocketOptionTests.java test/java/nio/channels/SocketChannel/SocketOptionTests.java
diffstat 5 files changed, 5 insertions(+), 5 deletions(-) [+]
line wrap: on
line diff
--- a/test/java/net/SocketOption/OptionsTest.java	Tue May 24 15:58:58 2016 +0800
+++ b/test/java/net/SocketOption/OptionsTest.java	Tue May 24 09:18:40 2016 +0100
@@ -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;
--- a/test/java/net/SocketOption/UnsupportedOptionsTest.java	Tue May 24 15:58:58 2016 +0800
+++ b/test/java/net/SocketOption/UnsupportedOptionsTest.java	Tue May 24 09:18:40 2016 +0100
@@ -33,7 +33,7 @@
  * @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 {
--- a/test/java/nio/channels/DatagramChannel/SocketOptionTests.java	Tue May 24 15:58:58 2016 +0800
+++ b/test/java/nio/channels/DatagramChannel/SocketOptionTests.java	Tue May 24 09:18:40 2016 +0100
@@ -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.*;
--- a/test/java/nio/channels/ServerSocketChannel/SocketOptionTests.java	Tue May 24 15:58:58 2016 +0800
+++ b/test/java/nio/channels/ServerSocketChannel/SocketOptionTests.java	Tue May 24 09:18:40 2016 +0100
@@ -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.*;
--- a/test/java/nio/channels/SocketChannel/SocketOptionTests.java	Tue May 24 15:58:58 2016 +0800
+++ b/test/java/nio/channels/SocketChannel/SocketOptionTests.java	Tue May 24 09:18:40 2016 +0100
@@ -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.*;