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 2023/10/28 04:41:00 UTC

[jira] [Resolved] (GROOVY-11197) Support JDK 22

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

Paul King resolved GROOVY-11197.
--------------------------------
    Fix Version/s: 4.0.16
       Resolution: Fixed

> Support JDK 22
> --------------
>
>                 Key: GROOVY-11197
>                 URL: https://issues.apache.org/jira/browse/GROOVY-11197
>             Project: Groovy
>          Issue Type: Task
>            Reporter: Francesco Chicchiriccò
>            Assignee: Paul King
>            Priority: Major
>             Fix For: 5.0.0-alpha-3, 4.0.16
>
>
> With JDK 22-ea and the following declaration:
> {code}
>       <plugin>
>         <groupId>org.codehaus.gmavenplus</groupId>
>         <artifactId>gmavenplus-plugin</artifactId>
>         <version>3.0.2</version>
>         <dependencies>
>           <dependency>
>             <groupId>org.apache.groovy</groupId>
>             <artifactId>groovy-ant</artifactId>
>             <version>4.0.15</version>
>           </dependency>
>         </dependencies>
>       </plugin>
> {code}
> the Maven build process fails with message:
> {code}
> Error:  Failed to execute goal org.codehaus.gmavenplus:gmavenplus-plugin:3.0.2:execute (default) on project syncope: Error occurred while calling a method on a Groovy class from classpath.: InvocationTargetException: BUG! exception in phase 'semantic analysis' in source unit 'Script1.groovy' Unsupported class file major version 66 -> [Help 1]
> {code}



--
This message was sent by Atlassian Jira
(v8.20.10#820010)