3rc2 regression?

2019-12-12 Thread Romain Manni-Bucau
Hi all Upgrading to rc2, one of my build script does not run anymore: https://github.com/Talend/component-runtime/blob/c41da9f67f9fdfa7839c48f58f35fe8c2b678853/sample-parent/documentation-sample/_src/build/Bundles.groovy Here is the stack: https://gist.github.com/rmannibucau/e5b1d485d7e01be128f87

Re: 3rc2 regression?

2019-12-12 Thread Daniel.Sun
Hi Romain, Could you provide us a standalone runnable code sample? BTW, I find the root cause is `ArrayIndexOutOfBoundsException` thrown in `PojoMetaMethodSite.`, but it is weird that no `static { ... }` in the `PojoMetaMethodSite` source code ( )https://github.com/apache/groovy/blo

Re: 3rc2 regression?

2019-12-12 Thread Daniel.Sun
I find a static field in PojoMetaMethodSite class, it will be initialized in "", but no subscript operation found either... https://github.com/apache/groovy/blob/GROOVY_3_0_0_RC_2/src/main/java/org/codehaus/groovy/runtime/callsite/PojoMetaMethodSite.java#L40 Cheers, Daniel.Sun - Apache Gro

Re: 3rc2 regression?

2019-12-12 Thread Daniel.Sun
Also, `ArrayIndexOutOfBoundsException` should be able to be caught by the try-catch block and ignored, but it is thrown as your stack trace shown... It's hard to address the issue by looking into the error log... ``` try { return (CallSite) constr.newInstance(si