Skip to content
Permalink
Browse files

translate DEX_037 to V1_8

fix #194
  • Loading branch information...
pxb1988 committed Jul 4, 2018
1 parent f5855eb commit b5771406a9c3073ba25fdfe4e43146ca36f655dc
Showing with 1 addition and 1 deletion.
  1. +1 −1 dex-translator/src/main/java/com/googlecode/d2j/dex/Dex2Asm.java
@@ -400,7 +400,7 @@ public void convertClass(int dexVersion, DexClassNode classNode, ClassVisitorFac
}
access = clearClassAccess(isInnerClass, access);

int version = dexVersion >= DexConstants.DEX_037 ? Opcodes.V1_7 : Opcodes.V1_6;
int version = dexVersion >= DexConstants.DEX_037 ? Opcodes.V1_8 : Opcodes.V1_6;
cv.visit(version, access, toInternalName(classNode.className), signature,
classNode.superClass == null ? null : toInternalName(classNode.superClass), interfaceInterNames);

0 comments on commit b577140

Please sign in to comment.
You can’t perform that action at this time.