[
https://issues.apache.org/jira/browse/GROOVY-12467?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18130954#comment-18130954
]
Jex Jexler commented on GROOVY-12467:
-------------------------------------
Thanks, as expected! :)
> Groovy 2.5's bundled ASM cannot read JDK 25 class files
> -------------------------------------------------------
>
> Key: GROOVY-12467
> URL: https://issues.apache.org/jira/browse/GROOVY-12467
> Project: Groovy
> Issue Type: Bug
> Components: Compiler
> Affects Versions: 2.5.x
> Reporter: Jex Jexler
> Priority: Major
>
> Compiling scripts can fail with "Unsupported class file major version 69",
> because Groovy 2.5's bundled ASM cannot read JDK 25 class files. Tested with
> Groovy 2.5.23 (released in 2023).
> *Workaround:* Turn off ASM resolving in the compiler configuration with
> {noformat}
> config.getOptimizationOptions().put("asmResolving", false){noformat}
> (comes with a certain performance cost)
--
This message was sent by Atlassian Jira
(v10.3.26#10030026)