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

Michael Osipov commented on MNG-5529:
-------------------------------------

Please provide a patch against current master.

> 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