sky201503 / dex2jar

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

生成的接口类的访问控制符不正确 #55

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
随便做一个空接口
public interface ABC {}

A-->Eclipse直接编译成class文件
B-->放到Android工程中编译成dex,然后反编译成jar,取出对应的clas
s文件

使用Asm的ASMifierClassVisitor查看,得出差异:
A --> ACC_PUBLIC + ACC_ABSTRACT + ACC_INTERFACE
B --> ACC_PUBLIC + ACC_SUPER + ACC_ABSTRACT + ACC_INTERFACE

即dex2jar反编译出来的接口类,多一个ACC_SUPER!!导致无法使用.

Original issue reported on code.google.com by wendal1985@gmail.com on 30 Apr 2011 at 3:44

GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
Good

Original comment by wendal1985@gmail.com on 2 Jun 2011 at 1:37