提交 afc5e80d 编写于 作者: A alanb

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

Reviewed-by: chegar
上级 1c84fcf0
...@@ -830,9 +830,6 @@ java/nio/channels/ServerSocketChannel/AdaptServerSocket.java windows-all ...@@ -830,9 +830,6 @@ java/nio/channels/ServerSocketChannel/AdaptServerSocket.java windows-all
java/nio/channels/SocketChannel/ConnectState.java windows-all java/nio/channels/SocketChannel/ConnectState.java windows-all
java/nio/channels/SocketChannel/FinishConnect.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?) # Gets java.net.BindException alot (static port number?)
java/nio/channels/SocketChannel/VectorIO.java generic-all java/nio/channels/SocketChannel/VectorIO.java generic-all
......
...@@ -25,6 +25,8 @@ ...@@ -25,6 +25,8 @@
* @bug 6548464 * @bug 6548464
* @summary SocketChannel.open(SocketAddress) leaks file descriptor if * @summary SocketChannel.open(SocketAddress) leaks file descriptor if
* connection cannot be established * connection cannot be established
* @build OpenLeak
* @run main/othervm OpenLeak
*/ */
import java.net.InetAddress; import java.net.InetAddress;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册