Uploaded image for project: 'Aries'
  1. Aries
  2. ARIES-1768

BlueprintDomainCombiner should not be holding a reference to BundleContext

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: blueprint-core-1.8.2
    • Fix Version/s: blueprint-core-1.8.4
    • Component/s: Blueprint
    • Labels:
      None

      Description

      The BlueprintProtectionDomain holds a reference to a bundle context which can become invalid during state changes. This can cause permission checks to fail when starting/stopping features or bundles when a security manager is being used because of the invalid context. Other ProtectionDomain implementations, such as the Felix one for ConfigAdmin hold a reference to the Bundle instead and seem to work as intended.

        Attachments

          Activity

            People

            • Assignee:
              gnodet Guillaume Nodet
              Reporter:
              stustison Scott Tustison
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: