< prev index next >
test/sun/net/InetAddress/nameservice/simple/CacheTest.java
Print this page
*** 24,33 ****
--- 24,34 ----
/* @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.
+ * @modules java.base/sun.net.spi.nameservice
* @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;
< prev index next >