diff -r 5fc89c43c103 -r 14a05668b003 jdk/test/java/lang/instrument/RedefineMethodInBacktraceTarget_2.java --- a/jdk/test/java/lang/instrument/RedefineMethodInBacktraceTarget_2.java Thu Mar 19 09:01:44 2015 +0100 +++ b/jdk/test/java/lang/instrument/RedefineMethodInBacktraceTarget_2.java Fri Mar 20 01:59:08 2015 -0700 @@ -29,4 +29,8 @@ public static void methodToRedefine() { throw new RuntimeException("Test exception 2"); } + + public static void callMethodToDelete() { + throw new RuntimeException("Test exception 2 in callMethodToDelete"); + } }