beryx / badass-jlink-plugin

Create a custom runtime image of your modular application
https://badass-jlink-plugin.beryx.org
Apache License 2.0
386 stars 27 forks source link

Support for Java 21 #238

Closed melix closed 1 year ago

melix commented 1 year ago

I was trying to upgrade my project to Java 21, but I am facing a blocking issue with this plugin, illustrated in this build scan.

The error is:

> Task :jsolex:prepareModulesDir FAILED

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':jsolex:prepareModulesDir'.
> Unsupported class file major version 65

This, as far as I understand, should be fixable by upgrading to ASM 9.5 here.

Thanks!

airsquared commented 1 year ago

Fixed in v3.0.0.

melix commented 1 year ago

And verified! Thanks a lot for the quick fix!