]
David Bosschaert commented on JBOSGI-387:
-----------------------------------------
I've added a test to refresh an uninstalled bundle via JMX, so it seems like it work.
Should we close this?
The test is here:
Potential problem with refreshing uninstalled bundles via JMX
-------------------------------------------------------------
Key: JBOSGI-387
URL:
https://jira.jboss.org/browse/JBOSGI-387
Project: JBoss OSGi
Issue Type: Bug
Security Level: Public(Everyone can see)
Components: jboss-osgi-jmx
Affects Versions: JBossOSGi 1.0.0 Beta8
Reporter: David Bosschaert
Assignee: David Bosschaert
Separated comment out of JBOSGI-336:
There might be an issue with FrameworkMBean.refreshBundles(long[] bundleIds). The Aries
implementation delegates to PackageAdmin.refreshPackages, for which it needs an Bundle[].
BundleContext.getBundle(long bundleId) would however return nulll for already uninstalled
bundles. As a result it seems that you cannot refresh a bundle that is already
uninstalled.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: