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

miss inner class #205

Open
GoogleCodeExporter opened this issue Mar 15, 2015 · 1 comment
Open

miss inner class #205

GoogleCodeExporter opened this issue Mar 15, 2015 · 1 comment

Comments

@GoogleCodeExporter
Copy link

What steps will reproduce the problem?
1. d2j-dex2jar classes.dex -o classes.jar
2. open classes.jar with JD-GUI

What is the expected output? What do you see instead?
Expected inner classes is placed inside their parent, e.g. InnerClassB should 
be declared in ClassA
Instead, I got an class named ClassA$InnerClassB

What version of the product are you using? On what operating system?
$ d2j-dex2jar -h
...
version: reader-1.15, translator-0.0.9.15, ir-1.12

Original issue reported on code.google.com by [email protected] on 30 Nov 2013 at 3:37

@GoogleCodeExporter
Copy link
Author

This happened me as well. I think this happens because, in some dex/apk files, 
dalvik annotations for inner classes (dalvik/annotation/MemberClasses, 
dalvik/annotation/EnclosingClass, etc...) are removed. In that case, probably 
we need to guess class structures by whether class name include '$' or not.

Original comment by [email protected] on 10 Dec 2013 at 12:14

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