You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@aries.apache.org by "Scott Tustison (JIRA)" <ji...@apache.org> on 2018/01/15 19:08:03 UTC

[jira] [Created] (ARIES-1768) BlueprintDomainCombiner should not be holding a reference to BundleContext

Scott Tustison created ARIES-1768:
-------------------------------------

             Summary: BlueprintDomainCombiner should not be holding a reference to BundleContext
                 Key: ARIES-1768
                 URL: https://issues.apache.org/jira/browse/ARIES-1768
             Project: Aries
          Issue Type: Bug
          Components: Blueprint
    Affects Versions: blueprint-core-1.8.2
            Reporter: Scott Tustison


The BlueprintDomainCombiner 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 DomainCombiner implementations, such as the Felix one for ConfigAdmin hold a reference to the Bundle instead and seem to work as intended.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)