6961358: TEST_BUG: java/nio/channels/SocketChannel/OpenLeak.java can't run in samevm mode

Reviewed-by: chegar
This commit is contained in:
Alan Bateman 2010-06-15 16:42:54 +01:00
parent 52c2b63a7a
commit cee6cf433e
2 changed files with 2 additions and 3 deletions

View File

@ -830,9 +830,6 @@ java/nio/channels/ServerSocketChannel/AdaptServerSocket.java windows-all
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

View File

@ -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;