haco20292 / dex2jar

Automatically exported from code.google.com/p/dex2jar
0 stars 0 forks source link

static inner classes lose 'static' attribute #56

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
1. Use dex2jar on a .dex file containing a static inner class (e.g. classes.dex 
from framework.jar in a default android install, which includes 
android.text.LoginFilter$UsernameFilterGeneric)
2. Use javap to view the interface of the inner class

Expected: a dump that shows a static class
Got:

$ javap android.text.LoginFilter\$UsernameFilterGeneric
Compiled from "LoginFilter.java"
public class android.text.LoginFilter$UsernameFilterGeneric extends android.text
.LoginFilter{
    public android.text.LoginFilter$UsernameFilterGeneric();
    public android.text.LoginFilter$UsernameFilterGeneric(boolean);
    public boolean isAllowed(char);
}

Using dex2jar 0.0.7.9-SNAPSHOT (downloaded 4 May 2011).

Original issue reported on code.google.com by jh314...@googlemail.com on 5 May 2011 at 6:28