test/jdk/java/net/Socket/asyncClose/AsyncClose.java
branchniosocketimpl-branch
changeset 57308 f22d38b23756
parent 49431 5812849b5027
child 57340 9026cb618cdd
equal deleted inserted replaced
57305:b2c5d70eecf6 57308:f22d38b23756
    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 {