You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@felix.apache.org by "Richard S. Hall (JIRA)" <ji...@apache.org> on 2009/07/30 18:01:16 UTC

[jira] Created: (FELIX-1432) Manifest parser doesn't return import package declarations in order of manifest

Manifest parser doesn't return import package declarations in order of manifest
-------------------------------------------------------------------------------

                 Key: FELIX-1432
                 URL: https://issues.apache.org/jira/browse/FELIX-1432
             Project: Felix
          Issue Type: Improvement
          Components: Framework
    Affects Versions: felix-1.8.1
            Reporter: Richard S. Hall
            Assignee: Richard S. Hall
            Priority: Minor
             Fix For: felix-2.0.0


When parsing import package declarations, the manifest parser reads them in as an array, but converts it to a map to check for duplicates. The map values are then converted back into an array, which does not preserve the order of the declarations in the manifest. It would be nice if the manifest parser preserved the order of the declarations, since this simplifies creating test cases which are dependent on this ordering.

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


[jira] Closed: (FELIX-1432) Manifest parser doesn't return import package declarations in order of manifest

Posted by "Richard S. Hall (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/FELIX-1432?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Richard S. Hall closed FELIX-1432.
----------------------------------

    Resolution: Fixed

Committed a patch to fix this issue.

> Manifest parser doesn't return import package declarations in order of manifest
> -------------------------------------------------------------------------------
>
>                 Key: FELIX-1432
>                 URL: https://issues.apache.org/jira/browse/FELIX-1432
>             Project: Felix
>          Issue Type: Improvement
>          Components: Framework
>    Affects Versions: felix-1.8.1
>            Reporter: Richard S. Hall
>            Assignee: Richard S. Hall
>            Priority: Minor
>             Fix For: felix-2.0.0
>
>
> When parsing import package declarations, the manifest parser reads them in as an array, but converts it to a map to check for duplicates. The map values are then converted back into an array, which does not preserve the order of the declarations in the manifest. It would be nice if the manifest parser preserved the order of the declarations, since this simplifies creating test cases which are dependent on this ordering.

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