6817246: Redundant call to set InetAddressCachePolicy to FOREVER if not set during initialization

Remove InetAddressCachePolicy.setIfNotSet call from System.setSecurityManager0

Reviewed-by: alanb, jccollet
This commit is contained in:
Mandy Chung 2009-03-18 17:37:39 -07:00
parent a2e046f672
commit e85a4d8536

View File

@ -34,7 +34,6 @@ import java.security.AllPermission;
import java.nio.channels.Channel;
import java.nio.channels.spi.SelectorProvider;
import sun.nio.ch.Interruptible;
import sun.net.InetAddressCachePolicy;
import sun.reflect.Reflection;
import sun.security.util.SecurityConstants;
import sun.reflect.annotation.AnnotationType;
@ -310,7 +309,6 @@ public final class System {
}
security = s;
InetAddressCachePolicy.setIfNotSet(InetAddressCachePolicy.FOREVER);
}
/**