Merge "Fail when there is an ASM error" am: 4152497b4b am: 05bb83c87d

am: 5fb872e787

Change-Id: I63222e0f376184649f8634932edc6ee296418b91
This commit is contained in:
Benoit Lamarche
2018-01-24 12:45:48 +00:00
committed by android-build-merger

View File

@@ -18,7 +18,6 @@ import java.util.Arrays;
import java.util.LinkedList;
import java.util.List;
import org.objectweb.asm.ClassVisitor;
import org.objectweb.asm.Label;
import org.objectweb.asm.MethodVisitor;
import org.objectweb.asm.Opcodes;
import org.objectweb.asm.commons.TryCatchBlockSorter;
@@ -101,7 +100,7 @@ class LockFindingClassVisitor extends ClassVisitor {
try {
a.analyze(owner, mn);
} catch (AnalyzerException e) {
e.printStackTrace();
throw new RuntimeException("Locked region code injection: " + e.getMessage(), e);
}
InsnList instructions = mn.instructions;