test/sun/net/InetAddress/nameservice/simple/CacheTest.java

Print this page

        

*** 24,35 **** /* @test * @bug 4292867 * @summary Check that InetAddress doesn't continue to throw UHE * after the name service has recovered and the negative ttl * on the initial lookup has expired. ! * ! * @build CacheTest SimpleNameService SimpleNameServiceDescriptor * @run main/othervm/timeout=200 -Dsun.net.spi.nameservice.provider.1=simple,sun CacheTest */ import java.net.InetAddress; import java.net.UnknownHostException; import java.security.Security; --- 24,35 ---- /* @test * @bug 4292867 * @summary Check that InetAddress doesn't continue to throw UHE * after the name service has recovered and the negative ttl * on the initial lookup has expired. ! * @compile -XDignore.symbol.file=true SimpleNameService.java ! * SimpleNameServiceDescriptor.java * @run main/othervm/timeout=200 -Dsun.net.spi.nameservice.provider.1=simple,sun CacheTest */ import java.net.InetAddress; import java.net.UnknownHostException; import java.security.Security;