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

am: 05bb83c87d

Change-Id: I27be59afd9f021c2933d10b6becb0f7542162a37
This commit is contained in:
Benoit Lamarche
2018-01-24 12:36:26 +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;