You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@aries.apache.org by "Guillaume Nodet (JIRA)" <ji...@apache.org> on 2018/01/16 07:13:01 UTC

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

     [ https://issues.apache.org/jira/browse/ARIES-1768?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Guillaume Nodet resolved ARIES-1768.
------------------------------------
    Resolution: Fixed

> 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
>            Assignee: Guillaume Nodet
>            Priority: Major
>             Fix For: blueprint-core-1.8.4
>
>
> 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.



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