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