changeset 55786:ae41e1037bde

8225424: Add jdk.net.usePlainSocketImpl runs to a couple of tests Reviewed-by: alanb
author chegar
date Fri, 07 Jun 2019 11:47:49 +0100
parents 09b09388f197
children fe87ca416753
files test/jdk/java/net/SocketOption/AfterClose.java test/jdk/java/net/SocketOption/NullsAndBadValues.java
diffstat 2 files changed, 2 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- 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
  */