GeezerVisonThe World Wide Web, restored to 800 pixels of glory. | |||||||
| Home|About|Gaming cabinet|Archives|How it works|Starter sites | |||||||
GeezerVison is showing github.com — Bump ASM 9.8 to support JDK 25 bytecode by pan3793 · Pull Request #744 · apache/maven-shade-plugin Conversation
Member
The current ASM 9.7 does not support JDK 24 and 25 bytecode.
Sorry, something went wrong. Uh oh!
There was an error while loading. Please reload this page. All reactionsThe current ASM 9.7 does not support JDK 24 and 25 bytecode. ``` ... [ERROR] Failed to execute goal org.apache.maven.plugins:maven-shade-plugin:3.6.0:shade (default) on project kyuubi-spark-sql-engine_2.12: Error creating shaded jar: Problem shading JAR /Users/chengpan/.m2/repository/net/bytebuddy/byte-buddy/1.17.6/byte-buddy-1.17.6.jar entry META-INF/versions/24/net/bytebuddy/jar/asmjdkbridge/JdkClassWriter$1.class: java.lang.IllegalArgumentException: Unsupported class file major version 68 -> [Help 1] ... ```
Member
Author
All reactions
Sorry, something went wrong. Uh oh!
There was an error while loading. Please reload this page.
All reactions
Sorry, something went wrong. Uh oh!
There was an error while loading. Please reload this page.
|
There was an error while loading. Please reload this page.
looks not. I will have a look to cut release. |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
@pan3793 @olamy Just to be clear, is version 3.6.1 compatible with JDK 25 or just 24? Because I get this error for a JDK 25 project-build:
If not, how would one "override the asm dependency in your pom" to work with JDK 25? |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
@InsertPikachuFace I'm not much familiar with this plugin, below answers are based on my understanding.
It should support JDK 25.
Apache Kyuubi resolved the issue via apache/kyuubi#7164 |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
I retried it with and without the asm override and nothing changed. |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
the problem here is not maven-shade-plugin but minimizer library which is bundling/shading asm. |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
Successfully merging this pull request may close these issues.
There was an error while loading. Please reload this page.