[
https://jira.jboss.org/browse/JBOSGI-387?page=com.atlassian.jira.plugin.s...
]
Thomas Diesler commented on JBOSGI-387:
---------------------------------------
Yes it works because I changed the semantic of BundleContext.getBundle(long) and
BundleContext.getBundles() such that it returns UNINSTALLED bundles if they still have
active wires.
This behaviour is not specified AFAIK. I think we can close this now, but need to revisit
if the TCK implies something else.
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:
https://jira.jboss.org/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira