6961358: TEST_BUG: java/nio/channels/SocketChannel/OpenLeak.java can't run in samevm mode
authoralanb
Tue, 15 Jun 2010 16:42:54 +0100 (2010-06-15)
changeset 5794 4fe78ae88cbe
parent 5793 b8ff20734cae
child 5795 49e9a038c105
6961358: TEST_BUG: java/nio/channels/SocketChannel/OpenLeak.java can't run in samevm mode Reviewed-by: chegar
jdk/test/ProblemList.txt
jdk/test/java/nio/channels/SocketChannel/OpenLeak.java
--- a/jdk/test/ProblemList.txt	Tue Jun 15 16:36:20 2010 +0100
+++ b/jdk/test/ProblemList.txt	Tue Jun 15 16:42:54 2010 +0100
@@ -830,9 +830,6 @@
 java/nio/channels/SocketChannel/ConnectState.java	 	windows-all
 java/nio/channels/SocketChannel/FinishConnect.java	 	windows-all
 
-# Need to be marked othervm, or changed to be samevm safe
-java/nio/channels/SocketChannel/OpenLeak.java			generic-all
-
 # Gets java.net.BindException alot (static port number?)
 java/nio/channels/SocketChannel/VectorIO.java		 	generic-all
 
--- a/jdk/test/java/nio/channels/SocketChannel/OpenLeak.java	Tue Jun 15 16:36:20 2010 +0100
+++ b/jdk/test/java/nio/channels/SocketChannel/OpenLeak.java	Tue Jun 15 16:42:54 2010 +0100
@@ -25,6 +25,8 @@
  * @bug 6548464
  * @summary SocketChannel.open(SocketAddress) leaks file descriptor if
  *     connection cannot be established
+ * @build OpenLeak
+ * @run main/othervm OpenLeak
  */
 
 import java.net.InetAddress;