Signed-off-by: Vegard Nossum <vegard.nos...@gmail.com> --- regression/jvm/FinallyTest.java | 10 +++++++--- 1 files changed, 7 insertions(+), 3 deletions(-)
diff --git a/regression/jvm/FinallyTest.java b/regression/jvm/FinallyTest.java index 6119137..576afcf 100644 --- a/regression/jvm/FinallyTest.java +++ b/regression/jvm/FinallyTest.java @@ -71,8 +71,12 @@ public class FinallyTest extends TestCase { assertEquals(0, methodWithNestedFinallyBlocks()); } + private static Exception getNullException() { + return null; + } + public static void testLineNumberTableAfterInlining() { - Exception e = null; + Exception e = getNullException(); boolean b = true; try { @@ -89,7 +93,7 @@ public class FinallyTest extends TestCase { } } - assertEquals(86, e.getStackTrace()[0].getLineNumber()); + assertEquals(90, e.getStackTrace()[0].getLineNumber()); } } @@ -123,4 +127,4 @@ public class FinallyTest extends TestCase { testLineNumberTableAfterInlining(); testExceptionTableAfterInlining(); } -} \ No newline at end of file +} -- 1.6.0.4 ------------------------------------------------------------------------------ Enter the BlackBerry Developer Challenge This is your chance to win up to $100,000 in prizes! For a limited time, vendors submitting new applications to BlackBerry App World(TM) will have the opportunity to enter the BlackBerry Developer Challenge. See full prize details at: http://p.sf.net/sfu/Challenge _______________________________________________ Jatovm-devel mailing list Jatovm-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jatovm-devel