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

java.lang.IllegalArgumentException: Unsupported api 589824 #295

Closed
wgaylord opened this issue Jun 21, 2021 · 6 comments
Closed

java.lang.IllegalArgumentException: Unsupported api 589824 #295

wgaylord opened this issue Jun 21, 2021 · 6 comments

Comments

@wgaylord
Copy link

Skipping: org/spigotmc/builder/Bootstrap.class
java.lang.IllegalArgumentException: Unsupported api 589824
	at org.objectweb.asm.ClassVisitor.<init>(ClassVisitor.java:70)
	at org.objectweb.asm.ClassVisitor.<init>(ClassVisitor.java:57)
	at org.objectweb.asm.tree.ClassNode.<init>(ClassNode.java:163)
	at org.objectweb.asm.tree.ClassNode.<init>(ClassNode.java:149)
	at the.bytecode.club.bytecodeviewer.util.JarUtils.getNode(JarUtils.java:243)
	at the.bytecode.club.bytecodeviewer.util.JarUtils.put(JarUtils.java:79)
	at the.bytecode.club.bytecodeviewer.util.OpenFile.run(OpenFile.java:99)
	at java.base/java.lang.Thread.run(Thread.java:831)

I am running bytecode-viewer with Java 16, (only java on my Ubuntu system) and attempting to look at a Jar file. (Spcifically Spigot's buildtools because it was the only jar I hard easily on hand) I am not sure really what version of java the jar file was built with.

@ThexXTURBOXx
Copy link
Contributor

Should be fixed in 2.10.11

@wgaylord
Copy link
Author

Yep! All fixed.

@JoeJoe1989
Copy link

Hi, my projects use both asm (7.2) and asm-util (7.1). In order to upgrade my project to JDK 17, I need to update asm to 9.1 which supports JDK 17. However, the build failed due to:

"Unsupported api 589824" error for asm (9.1) and asm-util (9.1)

If I downgrade asm-util to 7.1, the build succeeded. asm (9.1) and asm-util (7.1)

Not sure if you have any idea. Thanks.

@ThexXTURBOXx
Copy link
Contributor

@JoeJoe1989
Copy link

Sorry, can you please explain a bit more? How would changing the ASM_VERSION resolve the issue I am facing in my own project that directly use asm and asm-util?

@ThexXTURBOXx
Copy link
Contributor

In that case, your question is completely unrelated to BCV. Please use ASM's issue tracker or StackOverflow instead

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

No branches or pull requests

3 participants