test/jdk/java/nio/channels/unixdomain/Basic.java
branchunixdomainchannels
changeset 59073 832b8a28e17f
parent 59054 42bcf3042cd8
child 59090 fb91b01624be
equal deleted inserted replaced
59054:42bcf3042cd8 59073:832b8a28e17f
    43     static boolean nagle;
    43     static boolean nagle;
    44 
    44 
    45     public static void main(String args[]) throws Exception {
    45     public static void main(String args[]) throws Exception {
    46         if (args.length != 3)
    46         if (args.length != 3)
    47             usage();
    47             usage();
       
    48 
    48 	if (!supported()) {
    49 	if (!supported()) {
    49 	    System.out.println("Unix domain channels not supported");
    50 	    System.out.println("Unix domain channels not supported");
    50 	    return;
    51 	    return;
    51 	}
    52 	}
    52         sockRxBufsize = getInt(args[0]);
    53         sockRxBufsize = getInt(args[0]);