equal
deleted
inserted
replaced
23 |
23 |
24 /* @test |
24 /* @test |
25 * @bug 6548464 |
25 * @bug 6548464 |
26 * @summary SocketChannel.open(SocketAddress) leaks file descriptor if |
26 * @summary SocketChannel.open(SocketAddress) leaks file descriptor if |
27 * connection cannot be established |
27 * connection cannot be established |
|
28 * @build OpenLeak |
|
29 * @run main/othervm OpenLeak |
28 */ |
30 */ |
29 |
31 |
30 import java.net.InetAddress; |
32 import java.net.InetAddress; |
31 import java.net.InetSocketAddress; |
33 import java.net.InetSocketAddress; |
32 import java.nio.channels.SocketChannel; |
34 import java.nio.channels.SocketChannel; |