You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@felix.apache.org by "Yasuhiro Kawame (Created) (JIRA)" <ji...@apache.org> on 2012/03/29 13:16:29 UTC
[jira] [Created] (FELIX-3412) The implementation of
org.osgi.service.packageadmin ExportedPackage#isRemovalPending() does not
follow the spec.
The implementation of org.osgi.service.packageadmin ExportedPackage#isRemovalPending() does not follow the spec.
----------------------------------------------------------------------------------------------------------------
Key: FELIX-3412
URL: https://issues.apache.org/jira/browse/FELIX-3412
Project: Felix
Issue Type: Bug
Components: Framework
Affects Versions: framework-4.0.2
Reporter: Yasuhiro Kawame
Spec says
ExportedPackage#isRemovalPending() retuens true, if the package associated with this ExportedPackage object has been exported by a bundle that has been updated or uninstalled.
But this method retuens false, under the following conditions:
BundleA :
Export-Package: p.a
BundleB :
Import-Package: p.a
1. ExportPackage[] ep = PackageAdmin#getExportedPackages(p.a).
( ep[0]#getExportingBundle() equals BundleA)
2. uninstall BundleA.
3. call ep[0]#isRemovalPending().
see:
http://www.osgi.org/javadoc/r4v43/org/osgi/service/packageadmin/ExportedPackage.html
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira