You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@groovy.apache.org by "Paul King (Jira)" <ji...@apache.org> on 2020/04/12 22:05:00 UTC

[jira] [Comment Edited] (GROOVY-9505) Could not initialize class org.codehaus.groovy.vmplugin.v7.Java7 on JDK 14 in Spock tests

    [ https://issues.apache.org/jira/browse/GROOVY-9505?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17081925#comment-17081925 ] 

Paul King edited comment on GROOVY-9505 at 4/12/20, 10:04 PM:
--------------------------------------------------------------

If you are using Groovy 3.0.0-beta-2 you should upgrade to 3.0.3.
There is no code in 2.5.10+ and several of the latest 3.0.x releases which could cause that error and so should work fine on JDK 14.


was (Author: paulk):
If you are using Groovy 3.0.0-beta-2 you should upgrade to 3.0.3.

> Could not initialize class org.codehaus.groovy.vmplugin.v7.Java7 on JDK 14 in Spock tests
> -----------------------------------------------------------------------------------------
>
>                 Key: GROOVY-9505
>                 URL: https://issues.apache.org/jira/browse/GROOVY-9505
>             Project: Groovy
>          Issue Type: Bug
>          Components: Compiler
>    Affects Versions: 3.0.0-beta-2
>         Environment: Ubuntu 20.04
> Intellij IDEA IntelliJ IDEA 2020.1 (Ultimate Edition)
> Build #IU-201.6668.121, built on April 8, 2020
> Runtime version: 11.0.6+8-b765.25 amd64
> Adopt Open JDK 14.0.0.hs-adpt
>            Reporter: Kamil Jedrzejuk
>            Priority: Critical
>         Attachments: Screenshot from 2020-04-12 22-23-10.png, Screenshot from 2020-04-12 22-23-52.png
>
>   Original Estimate: 720h
>  Remaining Estimate: 720h
>
> I have a problem with integration tests.  I've updated  Java from 11 to 14.
> I can compile my application, but I can't run a integration tests.
> I'm using a Gradle 6.3
> Open JDK 14
> Spring Boot 2.4
> 2.0-M2-groovy-3.0
>  
> The code you can find here [https://github.com/KamilJedrzejuk/weatherinformer/tree/develop]



--
This message was sent by Atlassian Jira
(v8.3.4#803005)