aries-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF subversion and git services (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (ARIES-1445) Bundles that are not direct dependencies of a subsystem can be removed while still in use
Date Wed, 10 Feb 2016 12:36:18 GMT

    [ https://issues.apache.org/jira/browse/ARIES-1445?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15140708#comment-15140708
] 

ASF subversion and git services commented on ARIES-1445:
--------------------------------------------------------

Commit 1729588 from [~jwross@us.ibm.com] in branch 'aries/trunk'
[ https://svn.apache.org/r1729588 ]

[ARIES-1445] Bundles that are not direct dependencies of a subsystem can be removed while
still in use

Remove unnecessary code. The special check for a requirement namespace of osgi.service when
no wires exist is no longer necessary. Requirements in the osgi.service
namespace and effective directive value not equal to "resolve" are now handled, along with
all other similar cases, by the first check in findProviders.

> Bundles that are not direct dependencies of a subsystem can be removed while still in
use
> -----------------------------------------------------------------------------------------
>
>                 Key: ARIES-1445
>                 URL: https://issues.apache.org/jira/browse/ARIES-1445
>             Project: Aries
>          Issue Type: Bug
>          Components: Subsystem
>    Affects Versions: subsystem-2.0.6, subsystem-2.0.8
>         Environment: karaf pax-exam
>            Reporter: Bas
>            Assignee: John Ross
>              Labels: test-patch
>         Attachments: UninstallFeatureRemovesReferencedBundle.java.patch
>
>
> Bundle A is a constituent of application subsystem S1
> Bundle A is a constituent of application subsystem S2
> Bundle A has a package import of b.package
> Bundle B exports b.package
> Bundle B imports c.package
> Bundle C exports c.package
> There is an obr repository with bundle b and c
> Bundle B and C are not constituents
> When installing S1 bundle B and C are added to the root subsystem to fullfill the requirements
of bundle A
> When installing S2 everything is still working.
> Start S1.
> Now we uninstall S1 and bundle C is removed. 
> refreshBundles
> Subsystem S2 won't start anymore because of that.
> The testcase uses different bundle ids.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message