Just got a weird compilation error always using Path arguments. https://issues.apache.org/jira/browse/GROOVY-9115
p On Fri, May 10, 2019 at 6:38 PM Romain Manni-Bucau <rmannibu...@gmail.com> wrote: > Sure, the class is there: > https://github.com/Talend/component-runtime/blob/component-runtime-1.1.9/sample-parent/documentation-sample/_src/build/Bundles.groovy#L71 > and > the reference issue is at the line before. > > Romain Manni-Bucau > @rmannibucau <https://twitter.com/rmannibucau> | Blog > <https://rmannibucau.metawerx.net/> | Old Blog > <http://rmannibucau.wordpress.com> | Github > <https://github.com/rmannibucau> | LinkedIn > <https://www.linkedin.com/in/rmannibucau> | Book > <https://www.packtpub.com/application-development/java-ee-8-high-performance> > > > Le ven. 10 mai 2019 à 18:35, Milles, Eric (TR Tech, Content & Ops) < > eric.mil...@thomsonreuters.com> a écrit : > >> There were some anon. inner fixes in 2.5.7. Can you show a small example >> of the AIC you are seeing an error for? >> >> >> ------------------------------ >> *From:* Romain Manni-Bucau <rmannibu...@gmail.com> >> *Sent:* Friday, May 10, 2019 11:11 AM >> *To:* dev@groovy.apache.org >> *Subject:* 2.5.7 regression with references? >> >> Hi guys, >> >> using anonymous classes with 2.5.7 does not handle references properly >> compared to 2.5.6: >> >> error I get: >> >> static java.nio.file.Files.copy() is applicable for argument types: >> (sun.nio.fs.UnixPath, Reference) >> >> Code implements a new SimpleFileVisitor<Path>() {...} inline and uses a >> reference defined before the class (~final in java). >> >> Is it known? >> >> Romain Manni-Bucau >> @rmannibucau >> <https://urldefense.proofpoint.com/v2/url?u=https-3A__twitter.com_rmannibucau&d=DwMFaQ&c=4ZIZThykDLcoWk-GVjSLmy8-1Cr1I4FWIvbLFebwKgY&r=tPJuIuL_GkTEazjQW7vvl7mNWVGXn3yJD5LGBHYYHww&m=c1PZq6tGIcZGJOp3LfDNfj6HhVKV1_Yb2_Qajzuoqh4&s=6Rk3wlQs2NcR0P2nDz86G01h-m6VQbnYumb8tKUEvm0&e=> >> | Blog >> <https://urldefense.proofpoint.com/v2/url?u=https-3A__rmannibucau.metawerx.net_&d=DwMFaQ&c=4ZIZThykDLcoWk-GVjSLmy8-1Cr1I4FWIvbLFebwKgY&r=tPJuIuL_GkTEazjQW7vvl7mNWVGXn3yJD5LGBHYYHww&m=c1PZq6tGIcZGJOp3LfDNfj6HhVKV1_Yb2_Qajzuoqh4&s=lyJ1DiGt_7lfPoBsZe4V3M1nQG0YJmo_xjPsNV4Hnn0&e=> >> | >> Old Blog >> <https://urldefense.proofpoint.com/v2/url?u=http-3A__rmannibucau.wordpress.com&d=DwMFaQ&c=4ZIZThykDLcoWk-GVjSLmy8-1Cr1I4FWIvbLFebwKgY&r=tPJuIuL_GkTEazjQW7vvl7mNWVGXn3yJD5LGBHYYHww&m=c1PZq6tGIcZGJOp3LfDNfj6HhVKV1_Yb2_Qajzuoqh4&s=UWnVLBl9lTyYgMWRJqb_NzGBibfwQF0R4h8fdLshk70&e=> >> | Github >> <https://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_rmannibucau&d=DwMFaQ&c=4ZIZThykDLcoWk-GVjSLmy8-1Cr1I4FWIvbLFebwKgY&r=tPJuIuL_GkTEazjQW7vvl7mNWVGXn3yJD5LGBHYYHww&m=c1PZq6tGIcZGJOp3LfDNfj6HhVKV1_Yb2_Qajzuoqh4&s=X6ovp5Ps9eaW1rF70nvxb3v9LEUuimx2sMthr-DfpZk&e=> >> | >> LinkedIn >> <https://urldefense.proofpoint.com/v2/url?u=https-3A__www.linkedin.com_in_rmannibucau&d=DwMFaQ&c=4ZIZThykDLcoWk-GVjSLmy8-1Cr1I4FWIvbLFebwKgY&r=tPJuIuL_GkTEazjQW7vvl7mNWVGXn3yJD5LGBHYYHww&m=c1PZq6tGIcZGJOp3LfDNfj6HhVKV1_Yb2_Qajzuoqh4&s=6DCaJqQilo4OF6QZWHebsxVgEX3lMI28oV-pN1oELy0&e=> >> | >> Book >> >> <https://urldefense.proofpoint.com/v2/url?u=https-3A__www.packtpub.com_application-2Ddevelopment_java-2Dee-2D8-2Dhigh-2Dperformance&d=DwMFaQ&c=4ZIZThykDLcoWk-GVjSLmy8-1Cr1I4FWIvbLFebwKgY&r=tPJuIuL_GkTEazjQW7vvl7mNWVGXn3yJD5LGBHYYHww&m=c1PZq6tGIcZGJOp3LfDNfj6HhVKV1_Yb2_Qajzuoqh4&s=4SDP3yPvs8hudabotb8fjmI2_qq4fPTwdP-YMxHhjm0&e=> >> >