8225424: Add jdk.net.usePlainSocketImpl runs to a couple of tests
authorchegar
Fri, 07 Jun 2019 11:47:49 +0100
changeset 55288 ae41e1037bde
parent 55287 09b09388f197
child 55289 fe87ca416753
8225424: Add jdk.net.usePlainSocketImpl runs to a couple of tests Reviewed-by: alanb
test/jdk/java/net/SocketOption/AfterClose.java
test/jdk/java/net/SocketOption/NullsAndBadValues.java
--- a/test/jdk/java/net/SocketOption/AfterClose.java	Fri Jun 07 11:48:01 2019 +0200
+++ b/test/jdk/java/net/SocketOption/AfterClose.java	Fri Jun 07 11:47:49 2019 +0100
@@ -26,6 +26,7 @@
  * @bug 8224477
  * @summary Ensures that IOException is thrown after the socket is closed
  * @run testng AfterClose
+ * @run testng/othervm -Djdk.net.usePlainSocketImpl AfterClose
  */
 
 import java.io.IOException;
--- a/test/jdk/java/net/SocketOption/NullsAndBadValues.java	Fri Jun 07 11:48:01 2019 +0200
+++ b/test/jdk/java/net/SocketOption/NullsAndBadValues.java	Fri Jun 07 11:47:49 2019 +0100
@@ -26,6 +26,7 @@
  * @bug 8224477
  * @summary Basic test for NPE, UOE, and IAE for get/setOption
  * @run testng NullsAndBadValues
+ * @run testng/othervm -Djdk.net.usePlainSocketImpl NullsAndBadValues
  * @run testng/othervm -Dsun.net.useExclusiveBind=false NullsAndBadValues
  */