-
Enhancement
-
Resolution: Fixed
-
P4
-
7
-
b53
-
generic
-
generic
Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-2175203 | 6u14 | Mandy Chung | P3 | Resolved | Fixed | b05 |
System.setSecurityManager0 calls
InetAddressCachePolicy.setIfNotSet(InetAddressCachePolicy.FOREVER);
This call is redundant since the default cache policy is already set to FOREVER if not set by the command-line property when InetAddressCachePolicy is loaded and initialized (done by the static initializer).
We can remove this call from System.setSecurityManager0() implementation.
InetAddressCachePolicy.setIfNotSet(InetAddressCachePolicy.FOREVER);
This call is redundant since the default cache policy is already set to FOREVER if not set by the command-line property when InetAddressCachePolicy is loaded and initialized (done by the static initializer).
We can remove this call from System.setSecurityManager0() implementation.
- backported by
-
JDK-2175203 Redundant call to set InetAddressCachePolicy to FOREVER if not set during initialization
-
- Resolved
-
- relates to
-
JDK-6798873 Reduce the number of classes loaded and class dependencies
-
- Closed
-