equal
deleted
inserted
replaced
31 * @bug 4344135 |
31 * @bug 4344135 |
32 * @summary Check that {Socket,ServerSocket,DatagramSocket}.close will |
32 * @summary Check that {Socket,ServerSocket,DatagramSocket}.close will |
33 * cause any thread blocked on the socket to throw a SocketException. |
33 * cause any thread blocked on the socket to throw a SocketException. |
34 * @run main AsyncClose |
34 * @run main AsyncClose |
35 * @run main/othervm -Djava.net.preferIPv4Stack=true AsyncClose |
35 * @run main/othervm -Djava.net.preferIPv4Stack=true AsyncClose |
|
36 * @run main/othervm -Djdk.net.usePlainSocketImpl AsyncClose |
36 */ |
37 */ |
37 |
38 |
38 public class AsyncClose { |
39 public class AsyncClose { |
39 |
40 |
40 public static void main(String args[]) throws Exception { |
41 public static void main(String args[]) throws Exception { |