Uploaded image for project: 'Groovy'
  1. Groovy
  2. GROOVY-11518

Support Java 23 through ASM 9.7

    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Closed
    • Major
    • Resolution: Not A Problem
    • 4.0.16
    • None
    • Compiler
    • None

    Description

      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:

      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)
       

      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.

      Attachments

        Activity

          People

            Unassigned Unassigned
            hgirod Herve Girod
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: