You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@felix.apache.org by "Clement Escoffier (JIRA)" <ji...@apache.org> on 2009/06/28 18:40:47 UTC

[jira] Updated: (FELIX-1280) Package Admin - getExportedPackages must return null instead of an empty array

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

Clement Escoffier updated FELIX-1280:
-------------------------------------

    Attachment: org.apache.felix.framework.patch

This trivial patch just returns null if the list of exported packages is empty.

> Package Admin - getExportedPackages must return null instead of an empty array
> ------------------------------------------------------------------------------
>
>                 Key: FELIX-1280
>                 URL: https://issues.apache.org/jira/browse/FELIX-1280
>             Project: Felix
>          Issue Type: Bug
>          Components: Framework
>    Affects Versions: felix-1.6.0
>            Reporter: Clement Escoffier
>            Priority: Minor
>         Attachments: org.apache.felix.framework.patch
>
>   Original Estimate: 0h
>  Remaining Estimate: 0h
>
> The PackageAdmin implementation has a minor bug in the getExportedPackages method. According to the spec, this method must return null if the bundle does not export any packages (currently). However, the Felix implementation returns an empty array. 

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.