Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
framework-4.0.2
-
None
Description
Spec says
PackageAdmin#getExportedPackages(Bundle) returnes null, if the specified bundle has no exported packages.
But this method returns "NOT null", under the following conditions:
BundleA :
Export-Package: p.a
Bundle[] ba =
{ BundleA }1. uninstall BundleA.
2. call org.osgi.service.packageadmin.PackageAdmin#refreshPackage(ba).
3. call org.osgi.service.packageadmin.PackageAdmin#getExportedPackages(BundleA).
I think BundleA has no exported packages, so PackageAdmin#getExportedPackages(BundleA) should returns null.