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:
parent
a2e046f672
commit
e85a4d8536
@ -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);
|
||||
}
|
||||
|
||||
/**
|
||||
|
Loading…
Reference in New Issue
Block a user