Jex Jexler created GROOVY-12467:
-----------------------------------

             Summary: 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


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}



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

Reply via email to