Siman-hub commented on PR #13671: URL: https://github.com/apache/skywalking/pull/13671#issuecomment-3765197603
> What is the issue actually? I think when you run the compiled codes, it is eventually in JDK25. MeterProcessorTest uses Groovy, and Groovy parses / analyzes classes using ASM during semantic analysis. When running on JDK 25, the Java compiler emits class file major version 69, but the Groovy version we currently use doesn’t yet recognize that class version. As a result, Groovy fails with Unsupported class file major version 69 before the test logic executes, even though the JVM itself can run the code fine on JDK 25. So this isn’t a runtime incompatibility with JDK 25, but a tooling limitation in Groovy’s bytecode reader. That’s why the test passes unchanged on JDK 11 / 17 / 21, but crashes during Groovy’s semantic analysis phase on 25. I avoided upgrading Groovy in this PR since that would be a broader dependency change with higher risk. Once Groovy officially supports Java 25 bytecode, the skip can be safely removed. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
