karaf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jean-Baptiste Onofré (JIRA) <j...@apache.org>
Subject [jira] [Updated] (KARAF-3475) No refresh of bundles during feature install
Date Sun, 25 Jan 2015 17:54:34 GMT

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

Jean-Baptiste Onofré updated KARAF-3475:
----------------------------------------
    Fix Version/s: 4.0.0

> No refresh of bundles during feature install
> --------------------------------------------
>
>                 Key: KARAF-3475
>                 URL: https://issues.apache.org/jira/browse/KARAF-3475
>             Project: Karaf
>          Issue Type: Bug
>          Components: karaf-feature
>    Affects Versions: 3.0.2
>            Reporter: Frank Diebolt
>            Assignee: Jean-Baptiste Onofré
>             Fix For: 4.0.0, 3.0.3
>
>   Original Estimate: 5m
>  Remaining Estimate: 5m
>
> Hi,
> I successfully tested the fix below :
> In the source file <karaf-sources>features/core/src/main/java/org/apache/karaf/features/internal/BundleManager.java
> protected void refreshPackages(Collection<Bundle> bundles) {
>         final Object refreshLock = new Object();
> -FrameworkWiring wiring = bundleContext.getBundle().adapt(FrameworkWiring.class);
> +FrameworkWiring wiring = bundleContext.getBundle(0).adapt(FrameworkWiring.class);
> Currently wiring is always null, FrameworkWiring can be obtained on bundle 0 only.
> BR
> Frank



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

Mime
View raw message