Hi all

I use Apache Felix 5.4.0 and I have two bundles: bundleA and bundleB. BundleB 
depends on bundleA. 

I update bundleA and after that run the following code to do osgi refresh:

Bundle systemBundle  = bcx . getBundle ( 0 );
FrameworkWiring frameworkWiring  = systemBundle . adapt ( FrameworkWiring . 
class );
frameworkWiring . refreshBundles ( null );
(from here http://stackoverflow.com/a/23361835/5057736 )

This code does the following: it stops and starts bundleA and stops and starts 
bundleB. 

But why bundleA? I am asking because in result bundleA is two times updated. Is 
this a bug or what?

Best regards, Alex

Reply via email to