You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Seckin Onur SELAMET (JIRA)" <ji...@apache.org> on 2018/05/22 10:51:00 UTC

[jira] [Updated] (MNG-6415) Project Artifacts Cache does not retain the order of classpath entries.

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

Seckin Onur SELAMET updated MNG-6415:
-------------------------------------
    Description: 
Project artifact cache introduced does not retain the order of classpath entries.

Wrong Object type used in implementation. HashSet can not guarantee the order of elements contained. 

In runtime ProjectArtifacts passed as LinkedHashSet already which is safe.

 

Possible fix is provided in comments section.

> Project Artifacts Cache does not retain the order of classpath entries.
> -----------------------------------------------------------------------
>
>                 Key: MNG-6415
>                 URL: https://issues.apache.org/jira/browse/MNG-6415
>             Project: Maven
>          Issue Type: Bug
>          Components: core
>    Affects Versions: 3.5.2
>         Environment: Windows 7, JDK8u144
>            Reporter: Seckin Onur SELAMET
>            Priority: Major
>              Labels: CLASSPATH
>
> Project artifact cache introduced does not retain the order of classpath entries.
> Wrong Object type used in implementation. HashSet can not guarantee the order of elements contained. 
> In runtime ProjectArtifacts passed as LinkedHashSet already which is safe.
>  
> Possible fix is provided in comments section.



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