Skip to content

Commit b82d08a

Browse files
committed
Revert "test"
This reverts commit eca0ea2.
1 parent eca0ea2 commit b82d08a

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

dex-translator/src/main/java/com/googlecode/d2j/dex/ExDex2Asm.java

+4-4
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
*/
1717
package com.googlecode.d2j.dex;
1818

19-
import org.objectweb.asm.AsmBridgeFix;
19+
import org.objectweb.asm.AsmBridge;
2020
import org.objectweb.asm.MethodVisitor;
2121
import org.objectweb.asm.Opcodes;
2222
import org.objectweb.asm.tree.MethodNode;
@@ -33,7 +33,7 @@ public ExDex2Asm(DexExceptionHandler exceptionHandler) {
3333

3434
@Override
3535
public void convertCode(DexMethodNode methodNode, MethodVisitor mv, ClzCtx clzCtx) {
36-
MethodVisitor mw = AsmBridgeFix.searchMethodWriter(mv);
36+
MethodVisitor mw = AsmBridge.searchMethodWriter(mv);
3737
MethodNode mn = new MethodNode(Opcodes.ASM5, methodNode.access, methodNode.method.getName(),
3838
methodNode.method.getDesc(), null, null);
3939
try {
@@ -51,12 +51,12 @@ public void convertCode(DexMethodNode methodNode, MethodVisitor mv, ClzCtx clzCt
5151
mn.accept(mv);
5252
if (mw != null) {
5353
try {
54-
AsmBridgeFix.sizeOfMethodWriter(mw);
54+
AsmBridge.sizeOfMethodWriter(mw);
5555
} catch (Exception ex) {
5656
mn.instructions.clear();
5757
mn.tryCatchBlocks.clear();
5858
exceptionHandler.handleMethodTranslateException(methodNode.method, methodNode, mn, ex);
59-
AsmBridgeFix.replaceMethodWriter(mw, mn);
59+
AsmBridge.replaceMethodWriter(mw, mn);
6060
}
6161
}
6262
}

dex-translator/src/main/java/org/objectweb/asm/AsmBridgeFix.java renamed to dex-translator/src/main/java/org/objectweb/asm/AsmBridge.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818

1919
import org.objectweb.asm.tree.MethodNode;
2020

21-
public class AsmBridgeFix {
21+
public class AsmBridge {
2222
public static MethodVisitor searchMethodWriter(MethodVisitor mv) {
2323
while (mv != null && !(mv instanceof MethodWriter)) {
2424
mv = mv.mv;

0 commit comments

Comments
 (0)