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

Karl Pauls closed SLING-8485.
-----------------------------

> Feature Launcher should keep order of features
> ----------------------------------------------
>
>                 Key: SLING-8485
>                 URL: https://issues.apache.org/jira/browse/SLING-8485
>             Project: Sling
>          Issue Type: Bug
>          Components: Feature Model
>    Affects Versions: Feature Model Launcher 1.0.2
>            Reporter: Karl Pauls
>            Assignee: Karl Pauls
>            Priority: Major
>             Fix For: Feature Model Launcher 1.0.4
>
>
> As part of SLING-8334 in [0] a "loadedFeatures" HashMap has been introduced. 
> That in turn, is now used to get the final list of features from its values() 
> [1]. 
> As HashMaps are not ordered the order is effectively unpredictably now. We 
> should fix this and make sure we keep the original order.
> [0] 
> https://github.com/apache/sling-org-apache-sling-feature-launcher/commit/4103794287784f51997866715d17466effe9e291
> [1] 
> https://github.com/apache/sling-org-apache-sling-feature-launcher/blob/master/src/main/java/org/apache/sling/feature/launcher/impl/FeatureProcessor.java#L104



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to