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

Policy.refresh should clear pdMapping

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Fixed
    • Icon: P4 P4
    • 1.4.0
    • 1.4.0
    • security-libs
    • None
    • beta
    • generic
    • generic

      The new Policy.getPermissions(ProtectionDomain) method maintains a cache, which is good. However, Policy.refresh() was left as abstract. Given that subclasses of Policy might decide to call super.getPermissions(PD) to take advantage of that cache (in addition to whatever else they do), subclasses should also be able to call super.refresh() to clear that cache.

            gellisonsunw Gary Ellison (Inactive)
            bscheiflsunw Bob Scheifler (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: