Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

upgrade asm version #152

Closed
wants to merge 1 commit into from
Closed

upgrade asm version #152

wants to merge 1 commit into from

Conversation

MuravlevAS
Copy link

@MuravlevAS MuravlevAS commented Jun 19, 2024

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.

@xzel23
Copy link

xzel23 commented Jul 19, 2024

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

@MuravlevAS MuravlevAS closed this Oct 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants