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 11 compatibility #10

Open
bananabr opened this issue Mar 11, 2022 · 1 comment
Open

Java 11 compatibility #10

bananabr opened this issue Mar 11, 2022 · 1 comment

Comments

@bananabr
Copy link

When running the tool against a set of jar files, the following errors are thrown when using Java 11.0.14 (Zulu). The same doesn't happen when using Java 8.

java.lang.UnsupportedOperationException
	at org.objectweb.asm.ClassVisitor.visitNestHostExperimental(ClassVisitor.java:158)
	at org.objectweb.asm.ClassReader.accept(ClassReader.java:541)
	at org.objectweb.asm.ClassReader.accept(ClassReader.java:391)
	at gadgetinspector.CallGraphDiscovery.discover(CallGraphDiscovery.java:35)
	at gadgetinspector.GadgetInspector.main(GadgetInspector.java:110)
2022-03-10 18:21:12,637 gadgetinspector.CallGraphDiscovery [ERROR] Error analyzing: gadgetinspector/Util$1.class
java.lang.UnsupportedOperationException
	at org.objectweb.asm.ClassVisitor.visitNestHostExperimental(ClassVisitor.java:158)
	at org.objectweb.asm.ClassReader.accept(ClassReader.java:541)
	at org.objectweb.asm.ClassReader.accept(ClassReader.java:391)
	at gadgetinspector.CallGraphDiscovery.discover(CallGraphDiscovery.java:35)
	at gadgetinspector.GadgetInspector.main(GadgetInspector.java:110)
2022-03-10 18:21:12,638 gadgetinspector.CallGraphDiscovery [ERROR] Error analyzing: gadgetinspector/Util.class
java.lang.UnsupportedOperationException
	at org.objectweb.asm.ClassVisitor.visitNestMemberExperimental(ClassVisitor.java:248)
	at org.objectweb.asm.ClassReader.accept(ClassReader.java:651)
	at org.objectweb.asm.ClassReader.accept(ClassReader.java:391)
	at gadgetinspector.CallGraphDiscovery.discover(CallGraphDiscovery.java:35)
	at gadgetinspector.GadgetInspector.main(GadgetInspector.java:110)
@sig1nt
Copy link

sig1nt commented May 20, 2022

Hey @bananabr, this repo seems pretty unmaintained. I'm keeping an up to date version at https://github.com/sig1nt/gadgetinspector if you want to check it out.

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

2 participants