You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@groovy.apache.org by "Marcin Erdmann (JIRA)" <ji...@apache.org> on 2018/03/15 14:57:00 UTC
[jira] [Commented] (GROOVY-8508) VerifyError calling
Comparator.naturalOrder() since Groovy 2.4.14
[ https://issues.apache.org/jira/browse/GROOVY-8508?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16400523#comment-16400523 ]
Marcin Erdmann commented on GROOVY-8508:
----------------------------------------
I've hit the same issue when upgrading Geb from using 2.4.13 to 2.4.14.
I'm getting
{code:java}
java.lang.VerifyError: (class: ratpack/test/http/TestHttpClient$testHttpClient, method: callStatic signature: (Ljava/lang/Class;[Ljava/lang/Object;)Ljava/lang/Object;) Illegal type in constant pool
{code}
on [this line|https://github.com/geb/geb/blob/95159ec27ca0f956a03810a242d2919341d346da/doc/site/src/test/groovy/geb/SiteSmokeSpec.groovy#L39].
To reproduce, update the version of Groovy used in [this line|https://github.com/geb/geb/blob/master/geb.gradle#L44] and run {{./gradlew :doc:site:test --tests geb.SiteSmokeSpec}}.
> VerifyError calling Comparator.naturalOrder() since Groovy 2.4.14
> ------------------------------------------------------------------
>
> Key: GROOVY-8508
> URL: https://issues.apache.org/jira/browse/GROOVY-8508
> Project: Groovy
> Issue Type: Bug
> Components: groovy-runtime
> Affects Versions: 2.4.14
> Environment: macOS
> Reporter: Roman Stumm
> Priority: Blocker
>
> {color:#808080}tested on macOS with Java SE Development Kit 8u162.{color}
> {color:#808080}works with groovy 2.4.13.{color}
> {color:#808080}fails with groovy 2.4.14 ->{color}
> {color:#808080}java.lang.VerifyError: (class: java_util_Comparator$naturalOrder, method: callStatic signature:{color}{color:#808080} (Ljava/lang/Class;[Ljava/lang/Object;)Ljava/lang/Object Illegal type in constant pool{color}{color:#808080}
> {color}
> Comparator.naturalOrder()
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)