AdviceAdapter incorrectly emits onMethodEnter from a try-catch block in a constructor
Here is a test case demonstrating the behavior: `// test class
public class WeirdClass implements Runnable {
private Object dummy;
public WeirdClass() {
// javac compiler inserts here: invokespecial java/lang/Object."<init>":()V
// AdviceAdapter (correctly) emits onMethodEnter() after this instruction
try {
this.dummy = new Object();
// javac compiler inserts here: invokespecial java/lang/Object."<init>":()V
// AdviceAdapter (incorrectly) emits onMethodEnter() after this instruction
}
catch (Throwable io) {
}
foo();
}
private void foo() {
}
public void run() {
}
} `
This is seen with 7.2 beta.