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

Michael Osipov updated MNG-5529:
--------------------------------
    Labels: patch-pending  (was: )

> Misuse of iterator.remove in DefaultModelBuilder
> ------------------------------------------------
>
>                 Key: MNG-5529
>                 URL: https://issues.apache.org/jira/browse/MNG-5529
>             Project: Maven
>          Issue Type: Bug
>    Affects Versions: 3.1.1
>            Reporter: Christopher Hunt
>              Labels: patch-pending
>
> Line 905 of DefaultModelBuilder removes elements from the list of 
> dependencies for dependency management. The JDK states that the iterator's 
> remove operation is optional and when it is not present then an 
> UnsupportedOperationException will be thrown.
> My recommendation is that the list of dependencies returned is composed into 
> an array list for working purposes.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to