always cleanup access flags in class

--HG--
branch : 2.x
This commit is contained in:
Bob Pan 2015-09-27 03:39:41 +08:00
parent c4bec2d2ec
commit 59e78f16ee

View File

@ -379,9 +379,9 @@ public class Dex2Asm {
boolean isInnerClass = false;
if (clzInfo != null) {
isInnerClass = clzInfo.enclosingClass != null || clzInfo.enclosingMethod != null;
access = clearClassAccess(isInnerClass, access);
}
access = clearClassAccess(isInnerClass, access);
cv.visit(Opcodes.V1_6, access, toInternalName(classNode.className), signature,
classNode.superClass == null ? null : toInternalName(classNode.superClass), interfaceInterNames);