Java Solaris Communities Sun Store Join SDN My Profile Why Join?
 
Bug Database
Bug Detail
Quick Lists
Top 25 Bugs
Top 25 RFE's
Recently Closed Bugs
Printable Page Printable Page


Bug Database
Bug ID: 6817246
Votes 0
Synopsis Redundant call to set InetAddressCachePolicy to FOREVER if not set during initialization
Category java:classes_net
Reported Against
Release Fixed 7(b53)
State 10-Fix Delivered, request for enhancement
Priority: 4-Low
Related Bugs 6798873
Submit Date 13-MAR-2009
Description
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.
Posted Date : 2009-03-13 17:28:54.0
Work Around
N/A
Evaluation
Will remove the redundant call from System.setSecurityManager0 implementation.
Posted Date : 2009-03-13 17:29:35.0
Comments
  
  Include a link with my name & email   


PLEASE NOTE: JDK6 is formerly known as Project Mustang