You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@ofbiz.apache.org by "Mathieu Lirzin (JIRA)" <ji...@apache.org> on 2019/05/01 13:02:00 UTC

[jira] [Commented] (OFBIZ-10933) Insertion order of ‘LinkedHashMap’ is not preserved by ‘MapContext’

    [ https://issues.apache.org/jira/browse/OFBIZ-10933?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16830983#comment-16830983 ] 

Mathieu Lirzin commented on OFBIZ-10933:
----------------------------------------

The warning should not appear anymore after the commit  done in revision 1858483.

{quote}Should we not heed comments made in the 'move to jdk11' discussion in 
the dev ml, from what I got from it: have it correctly working for jdk8?{quote}
Indeed OFBiz {{trunk}} branch requires jdk8 so it must work with jdk8.

> Insertion order of ‘LinkedHashMap’ is not preserved by ‘MapContext’
> -------------------------------------------------------------------
>
>                 Key: OFBIZ-10933
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-10933
>             Project: OFBiz
>          Issue Type: Bug
>          Components: framework
>    Affects Versions: Release Branch 18.12
>            Reporter: Mathieu Lirzin
>            Assignee: Mathieu Lirzin
>            Priority: Major
>             Fix For: Trunk, Release Branch 18.12
>
>         Attachments: OFBIZ-10933_0001-Improved-Add-UtilMisc-toMap-Supplier-Map-K-V-Object.patch, OFBIZ-10933_0002-Fixed-Ensure-that-MapContext-preserves-insertion-ord.patch
>
>
> Since revision 1837462, when pushing a ‘LinkedHashMap’ inside a ‘MapContext’, the iteration order of the ‘MapContext’ values is not corresponding to the
> insertion order of the embedded ‘LinkedHashMap’ which is important in the ‘ControllerConfig’ case where configuration elements are stored in ‘LinkedHashMap’ objects and the ‘include’ mechanism relies on ‘MapContext’.



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