badass-runtime-plugin icon indicating copy to clipboard operation
badass-runtime-plugin copied to clipboard

upgrade asm version

Open MuravlevAS opened this issue 1 year ago • 1 comments

There was an error when compile my project on java 21 with this plugin:

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':jre'.
> Cannot cast object '[/ru/sgk/chatnotesdesktop/Launcher.class]' with class 'java.util.ArrayList' to class 'java.lang.Void' due to: groovy.lang.GroovyRuntimeException: Could not find matching constructor for: java.lang.Void(String)

The cause of error is that ClassReader, used in PackageUseScanner:210 throws an Exception:

java.lang.IllegalArgumentException: Unsupported class file major version 65

Error gone with upgrade asm to newer version.

MuravlevAS avatar Jun 19 '24 15:06 MuravlevAS

Please consider applying #154 when looking at this, it also includes the ASM update.

xzel23 avatar Jul 19 '24 10:07 xzel23