[
https://issues.apache.org/jira/browse/GROOVY-11197?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Paul King updated GROOVY-11197:
-------------------------------
Fix Version/s: 5.0.0-alpha-3
> 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
>
>
> 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)