Re: 3rc2 regression?

2019-12-13 Thread Romain Manni-Bucau
Hi Daniel, Wonder if it can be the VMPlugin which fails - it is silent when java 9/8 does not load and java 7. Weird thing is I have the same JVM locally (Java version: 1.8.0_202, vendor: Azul Systems, Inc.) and build passes. The failing constructor call is: public java_io_File$toPath(org.codehau

Re: 3rc2 regression?

2019-12-13 Thread Romain Manni-Bucau
...just need to send a mail to find the cause the jvm uses -Xverify:none (for jruby/asciidoctor), this lead to the issue Romain Manni-Bucau @rmannibucau | Blog | Old Blog | Github

Re: 3rc2 regression?

2019-12-13 Thread Daniel.Sun
> the jvm uses -Xverify:none (for jruby/asciidoctor), this lead to the issue That says, if `-Xverify:none` is removed, the issue is gone? Cheers, Daniel.Sun - Apache Groovy committer & PMC member Blog: http://blog.sunlan.me Twitter: @daniel_sun -- Sent from: http://groovy.329449.n5.nab

Re: 3rc2 regression?

2019-12-13 Thread Romain Manni-Bucau
exactly, simple reproducer: java -Xverify:none -jar ~/.m2/repository/org/codehaus/groovy/groovy/3.0.0-rc-2/groovy-3.0.0-rc-2.jar -e="new File('.').toPath()" Romain Manni-Bucau @rmannibucau | Blog | Old Blog

Re: 3rc2 regression?

2019-12-13 Thread Daniel.Sun
I can not reproduce the issue through your code( No error occurred as follows )... ``` D:\_TEMP\>groovy -v Groovy Version: 3.0.0-rc-2 JVM: 11.0.3 Vendor: Amazon.com Inc. OS: Windows 10 D:\_TEMP\>java -Xverify:none -jar D:\_DEV\Groovy\groovy\lib\groovy-3.0.0-rc-2.jar -e="new File('.').toPa

Re: 3rc2 regression?

2019-12-13 Thread Romain Manni-Bucau
Can you try on java 8 (Azul 1.8 202 in my case, it is available at https://cdn.azul.com/zulu/bin/) please? FYI using azul 11 works for me too so it is likely linked to the JVM version Romain Manni-Bucau @rmannibucau | Blog | O

Re: 3rc2 regression?

2019-12-13 Thread Daniel.Sun
Let me have a try ;-) Cheers, Daniel.Sun - Apache Groovy committer & PMC member Blog: http://blog.sunlan.me Twitter: @daniel_sun -- Sent from: http://groovy.329449.n5.nabble.com/Groovy-Dev-f372993.html

Re: 3rc2 regression?

2019-12-13 Thread Daniel.Sun
I tried my local JDK 1.8.0_222(Corretto) with your code, JVM crashed.. Let me download zulu JDK 1.8 and have a try... hs_err_pid19328.log D:\_TEMP\>groovy -v Groovy Version: 3.0.0-rc-2 JVM: 1.8.0_222 Vendor: Amazon.com

Re: 3rc2 regression?

2019-12-13 Thread Daniel.Sun
I tried zulu JDK 1.8.0_232, JVM crashed too... I think you find a bug of JVM ;-) P.S. the code runs well if no `-Xverify:none` applied. D:\_TEMP\>java -version openjdk version "1.8.0_232" OpenJDK Runtime Environment (Zulu 8.42.0.23-CA-win64) (build 1.8.0_232-b18) OpenJDK 64-Bit Server VM (Zul

Re: 3rc2 regression?

2019-12-13 Thread Daniel.Sun
Here is the error log: hs_err_pid21040.log Cheers, Daniel.Sun - Apache Groovy committer & PMC member Blog: http://blog.sunlan.me Twitter: @daniel_sun -- Sent from: http://groovy.329449.n5.nabble.com/Groovy-Dev-f3

Re: 3rc2 regression?

2019-12-13 Thread Romain Manni-Bucau
I'm not yet sure it is a JVM bug or a groovy generated bytecode bug. Concretely rc1 was working fine with verify:none so some change in rc2 triggered that probably. Romain Manni-Bucau @rmannibucau | Blog | Old Blog

Re: 3rc2 regression?

2019-12-13 Thread Daniel.Sun
https://github.com/danielsun1106/groovy/runs/347173227 JRE version: OpenJDK Runtime Environment (Zulu 8.42.0.23-CA-linux64) (8.0_232-b18) (build 1.8.0_232-b18) crashed too... Cheers, Daniel.Sun - Apache Groovy committer & PMC member Blog: http://blog.sunlan.me Twitter: @daniel_sun -

Re: 3rc2 regression?

2019-12-13 Thread Daniel.Sun
I tried to add `-Xverify:none` to groovy test build. As the result shows, Oracle JDK 1.8.0_151 seems to work: https://travis-ci.org/danielsun1106/groovy/jobs/624550691 This could be the only workaround for the JVM bug so far... Cheers, Daniel.Sun - Apache Groovy committer & PMC member B

Re: 3rc2 regression?

2019-12-13 Thread Romain Manni-Bucau
I managed to disable the verify:none option (it seems no more needed on the build now jruby fixed some issues and got upgraded) but can be neat to fix this issue for the rc3 or GA. Thanks for having a look so fast! Romain Manni-Bucau @rmannibucau | Blog

Re: 3rc2 regression?

2019-12-13 Thread Daniel.Sun
My pleasure. This should be a JVM 8 bug, which is triggered by groovy 3.0.0 rc-2. Maybe we have to submit the bug to OpenJDK team ;-) Cheers, Daniel.Sun - Apache Groovy committer & PMC member Blog: http://blog.sunlan.me Twitter: @daniel_sun -- Sent from: http://groovy.329449.n5.nabble.c