groovy-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Paul King (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (GROOVY-8779) Groovy 2.5.2 triggers a bug in IntelliJ IDEA
Date Wed, 12 Sep 2018 07:11:00 GMT

     [ https://issues.apache.org/jira/browse/GROOVY-8779?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Paul King resolved GROOVY-8779.
-------------------------------
       Resolution: Fixed
         Assignee: Paul King
    Fix Version/s: 2.5.3
                   3.0.0-alpha-4

This seems to be fixed by the changes we have made for 2.5.3. If you can try a snapshot version
to confirm, that would be great. Otherwise we should start the release process for 2.5.3 within
the week.

> Groovy 2.5.2 triggers a bug in IntelliJ IDEA
> --------------------------------------------
>
>                 Key: GROOVY-8779
>                 URL: https://issues.apache.org/jira/browse/GROOVY-8779
>             Project: Groovy
>          Issue Type: Bug
>    Affects Versions: 2.5.2
>         Environment: Mac OSX High SIerra
>            Reporter: Henrik
>            Assignee: Paul King
>            Priority: Major
>             Fix For: 3.0.0-alpha-4, 2.5.3
>
>
> I have a Java 10.0.2 / Groovy 2.5.1 project in IntelliJ IDEA 2018.2.3.  If I upgrade
it to 2.5.2, it is not able to build the project anymore. 
> It fails with:
> {code:java}
> Error:Groovyc: While compiling shared-test-helpers: BUG! exception in phase 'class generation'
in source unit '/Users/me/myproject/shared/test-helpers/src/main/java/me/shared/test/helpers/pages/PageSnapshot.groovy'
Bytecode version [10] is not supported by the compiler
>     at org.codehaus.groovy.classgen.asm.WriterController.chooseBytecodeVersion(WriterController.java:169)
>     at org.codehaus.groovy.classgen.asm.WriterController.init(WriterController.java:98)
>     at org.codehaus.groovy.classgen.AsmClassGenerator.visitClass(AsmClassGenerator.java:210)
>     at org.codehaus.groovy.control.CompilationUnit$18.call(CompilationUnit.java:850)
>     at org.codehaus.groovy.control.CompilationUnit.applyToPrimaryClassNodes(CompilationUnit.java:1087)
>     at org.codehaus.groovy.control.CompilationUnit.doPhaseOperation(CompilationUnit.java:631)
>     at org.codehaus.groovy.control.CompilationUnit.processPhaseOperations(CompilationUnit.java:609)
>     at org.codehaus.groovy.control.CompilationUnit.compile(CompilationUnit.java:586)
>     at org.jetbrains.groovy.compiler.rt.GroovyCompilerWrapper.compile(GroovyCompilerWrapper.java:62)
>     at org.jetbrains.groovy.compiler.rt.DependentGroovycRunner.runGroovyc(DependentGroovycRunner.java:118)
>     at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>     at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
>     at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
>     at java.base/java.lang.reflect.Method.invoke(Method.java:564)
>     at org.jetbrains.groovy.compiler.rt.GroovycRunner.intMain2(GroovycRunner.java:91)
>     at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>     at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
>     at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
>     at java.base/java.lang.reflect.Method.invoke(Method.java:564)
>     at org.jetbrains.jps.incremental.groovy.InProcessGroovyc.runGroovycInThisProcess(InProcessGroovyc.java:160)
>     at org.jetbrains.jps.incremental.groovy.InProcessGroovyc.lambda$runGroovyc$0(InProcessGroovyc.java:89)
>     at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
>     at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1135)
>     at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635)
>     at java.base/java.lang.Thread.run(Thread.java:844){code}
> See also https://youtrack.jetbrains.com/issue/IDEA-198689



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Mime
View raw message