changeset 2481:91124d60b2ed

6961358: TEST_BUG: java/nio/channels/SocketChannel/OpenLeak.java can't run in samevm mode Reviewed-by: chegar
author alanb
date Tue, 15 Jun 2010 16:42:54 +0100
parents 72022d7d4578
children 125ec775c9d1
files test/ProblemList.txt test/java/nio/channels/SocketChannel/OpenLeak.java
diffstat 2 files changed, 2 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/test/ProblemList.txt	Tue Jun 15 16:36:20 2010 +0100
+++ b/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/test/java/nio/channels/SocketChannel/OpenLeak.java	Tue Jun 15 16:36:20 2010 +0100
+++ b/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;