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

Jex Jexler updated GROOVY-12467:
--------------------------------
    Description: 
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)

  was:
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}


> 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
(v8.20.10#820010)

Reply via email to