When loading and initializing the class sun.net.InetAddrCachePolicy, NFEs will be thrown and caught when networkaddress.cache.ttl and networkaddress.cache.negative.ttl aren't set (which they typically aren't): try { tmp = new Integer( java.security.AccessController.doPrivileged ( new PrivilegedAction<String>() { public String run() { return Security.getProperty(cachePolicyProp); } })); } catch (NumberFormatException e) { // ignore }
|