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

Decompilation fails to detect new expressions #48

Open
bric3 opened this issue Dec 4, 2015 · 0 comments
Open

Decompilation fails to detect new expressions #48

bric3 opened this issue Dec 4, 2015 · 0 comments

Comments

@bric3
Copy link
Owner

bric3 commented Dec 4, 2015

Originally reported by: Marc Miltenberger (Bitbucket: mmi1991, GitHub: Unknown)


For some classfiles, jd fails to identify the bytecode instructions for new and specialinvoke together as "new"-Java expressions.

#!java

localHashMap = new java/util/HashMap;
localHashMap.<init>(286);

The corresponding part of the bytecode:

#!java

       7: new           #9                  // class java/util/HashMap
      10: astore_0
      11: aload_0
      12: sipush        286
      15: invokespecial #13                 // Method java/util/HashMap."<init>":(I)V

Maybe the store and load instruction are the problem?
However, jd should be able to cope with this.

Thank you very much in advance.


Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant