Herve Girod created GROOVY-11518:
------------------------------------

             Summary: Support Java 23 through ASM 9.7
                 Key: GROOVY-11518
                 URL: https://issues.apache.org/jira/browse/GROOVY-11518
             Project: Groovy
          Issue Type: New Feature
          Components: Compiler
    Affects Versions: 4.0.16
            Reporter: Herve Girod


Groovy uses ASM 9.6, which support up to Java 22. Using ASM 9.7 would allow to 
support Java 23. I have the following Stack Trace:
{code:java}
BUG! exception in phase 'semantic analysis' in source unit 
'Script_83d220891ea7c7d06c78121cd044992a.groovy' Unsupported class file major 
version 67
               at 
org.codehaus.groovy.control.CompilationUnit$ISourceUnitOperation.doPhaseOperation(CompilationUnit.java:901)
               at 
org.codehaus.groovy.control.CompilationUnit.processPhaseOperations(CompilationUnit.java:692)
               at 
org.codehaus.groovy.control.CompilationUnit.compile(CompilationUnit.java:666)
               at 
groovy.lang.GroovyClassLoader.doParseClass(GroovyClassLoader.java:373)
 {code}
I uses Groovy 4.0.16 but looking on the logs for versions it appears that the 
ASM version has not be upgraed since this version.



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

Reply via email to