Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-6817246

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

    XMLWordPrintable

Details

    • b53
    • generic
    • generic

    Backports

      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.

        Attachments

          Issue Links

            Activity

              People

                mchung Mandy Chung
                mchung Mandy Chung
                Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved:
                  Imported:
                  Indexed: