Print this page


Split Close
Expand all
Collapse all
          --- old/test/sun/net/InetAddress/nameservice/CacheTest.java
          +++ new/test/sun/net/InetAddress/nameservice/simple/CacheTest.java
↓ open down ↓ 18 lines elided ↑ open up ↑
  19   19   * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
  20   20   * or visit www.oracle.com if you need additional information or have any
  21   21   * questions.
  22   22   */
  23   23  
  24   24  /* @test
  25   25   * @bug 4292867
  26   26   * @summary Check that InetAddress doesn't continue to throw UHE
  27   27   *          after the name service has recovered and the negative ttl
  28   28   *          on the initial lookup has expired.
  29      - *
  30      - * @build CacheTest SimpleNameService SimpleNameServiceDescriptor
       29 + * @compile -XDignore.symbol.file=true SimpleNameService.java
       30 + *                                     SimpleNameServiceDescriptor.java
  31   31   * @run main/othervm/timeout=200 -Dsun.net.spi.nameservice.provider.1=simple,sun CacheTest
  32   32   */
  33   33  import java.net.InetAddress;
  34   34  import java.net.UnknownHostException;
  35   35  import java.security.Security;
  36   36  
  37   37  public class CacheTest {
  38   38  
  39   39  
  40   40      public static void main(String args[]) throws Exception {
↓ open down ↓ 64 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX