felix-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Richard S. Hall (Updated) (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (FELIX-3353) The implementation of org.osgi.service.packageadmin.PackageAdmin#getExportedPackages(Bundle), does not follow the spec.
Date Wed, 15 Feb 2012 14:01:00 GMT

     [ https://issues.apache.org/jira/browse/FELIX-3353?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Richard S. Hall updated FELIX-3353:
-----------------------------------

    Fix Version/s: framework-4.2.0
    
> The implementation of org.osgi.service.packageadmin.PackageAdmin#getExportedPackages(Bundle),
does not follow the spec.
> -----------------------------------------------------------------------------------------------------------------------
>
>                 Key: FELIX-3353
>                 URL: https://issues.apache.org/jira/browse/FELIX-3353
>             Project: Felix
>          Issue Type: Bug
>          Components: Framework
>    Affects Versions: framework-4.0.2
>            Reporter: Yasuhiro Kawame
>             Fix For: framework-4.2.0
>
>
> 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.
> see:
> http://www.osgi.org/javadoc/r4v43/org/osgi/service/packageadmin/PackageAdmin.html#getExportedPackages(org.osgi.framework.Bundle)

--
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

        

Mime
View raw message