jdk/test/java/nio/channels/TestUtil.java
changeset 1152 29d6145d1097
parent 715 f16baef3a20e
child 5506 202f599c92aa
equal deleted inserted replaced
1151:4070cecdb99d 1152:29d6145d1097
    36 
    36 
    37     // Test hosts used by the channels tests - change these when
    37     // Test hosts used by the channels tests - change these when
    38     // executing in a different network.
    38     // executing in a different network.
    39     public static final String HOST = "javaweb.sfbay.sun.com";
    39     public static final String HOST = "javaweb.sfbay.sun.com";
    40     public static final String REFUSING_HOST = "jano1.sfbay.sun.com";
    40     public static final String REFUSING_HOST = "jano1.sfbay.sun.com";
    41     public static final String FAR_HOST = "theclub.ireland.sun.com";
    41     public static final String FAR_HOST = "irejano.ireland.sun.com";
    42     public static final String UNRESOLVABLE_HOST = "blah-blah.blah-blah.blah";
    42     public static final String UNRESOLVABLE_HOST = "blah-blah.blah-blah.blah";
    43 
    43 
    44     private TestUtil() { }
    44     private TestUtil() { }
    45 
    45 
    46     // Repeatedly try random ports until we bind to one.  You might be tempted
    46     // Repeatedly try random ports until we bind to one.  You might be tempted
   100     }
   100     }
   101 
   101 
   102     static boolean onWindows() {
   102     static boolean onWindows() {
   103         return osName.startsWith("Windows");
   103         return osName.startsWith("Windows");
   104     }
   104     }
   105 
       
   106 }
   105 }