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

Standardize obtaining boolean properties with defaults.

    Details

    • Type: Enhancement
    • Status: Open
    • Priority: P4
    • Resolution: Unresolved
    • Affects Version/s: 7
    • Fix Version/s: None
    • Component/s: security-libs
    • Labels:

      Description

      We have several different ways to get boolean properties, using privileged calls.

      "true".equalsIgnoreCase...GetPropertyAction("java.foo.bar","true");
      BooleanAction()
      and three different versions of getBooleanProperty in DistributionPointFetcher, ChannelImpl, Debug.

      These were all developed over the years and in different unbundled variants, it would be good to standardize on one style.

      This would be a good starter bug.

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              wetmore Bradford Wetmore
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Imported:
                Indexed: