Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 4152497b authored by Benoit Lamarche's avatar Benoit Lamarche Committed by Gerrit Code Review
Browse files

Merge "Fail when there is an ASM error"

parents f811dff3 9f17dfcb
Loading
Loading
Loading
Loading
+1 −2
Original line number Diff line number Diff line
@@ -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;