ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ENJOLRAS Patrick <patrick.enjol...@thalesgroup.com>
Subject issue ivy 2.5.0 rc1
Date Thu, 10 Oct 2019 13:23:55 GMT
Hello,

Using Ivy 2.5.0 rc1 and  2.4.0, I had very often encountered a retrieve issue with the exception:
 java.lang.UnsupportedOperationException...

I had debug it, it comes from
org.apache.ivy.util.FileUtil.java

184 existingChild.remove(childDest);

To fix it

Line 174 existingChild = new java.util.LinkedList<File>(Arrays.asList(children));



Encapsulate arraysList as linkedList to be able to apply remove(File) function.(ArrayList
fixed size cannot apply remove(File ) on it =>unsupportedOperationException)

                If someone could do the modification or tell me how to submit it, it will
be great.

Thanks.

Regards

[Thales]
Patrick Enjolras
DIS BPS R&D Engineer
Tel.: 01 55 01 59 61

Gemalto is now part of the Thales Group.
Please note that my new email address is patrick.enjolras@thalesgroup.com<mailto:patrick.enjolras@thalesgroup.com>

THALES
6, rue de la Verrerie 92190 Meudon

www.thalesgroup.com<http://www.thalesgroup.com/>
[http://intranet.peopleonline.corp.thales/portal/outlook/signature/ico_linkedin.png]<http://www.linkedin.com/company/thales>
[http://intranet.peopleonline.corp.thales/portal/outlook/signature/ico_twitter.png]<https://twitter.com/thalesgroup>
[http://intranet.peopleonline.corp.thales/portal/outlook/signature/ico_fb.png]<https://www.facebook.com/thalesgroup>
[http://intranet.peopleonline.corp.thales/portal/outlook/signature/ico_youtube.png]<https://www.youtube.com/user/thethalesgroup>




Mime
  • Unnamed multipart/related (inline, None, 0 bytes)
View raw message