Author: gshimansky
Date: Thu Jun 14 10:47:17 2007
New Revision: 547331
URL: http://svn.apache.org/viewvc?view=rev&rev=547331
Log:
Regression test for HARMONY-4053
Modified:
harmony/enhanced/drlvm/trunk/src/test/regression/H3225/PositiveJsrTest.j
Modified: harmony/enhanced/drlvm/trunk/src/test/regression/H3225/PositiveJsrTest.j
URL: http://svn.apache.org/viewvc/harmony/enhanced/drlvm/trunk/src/test/regression/H3225/PositiveJsrTest.j?view=diff&rev=547331&r1=547330&r2=547331
==============================================================================
--- harmony/enhanced/drlvm/trunk/src/test/regression/H3225/PositiveJsrTest.j (original)
+++ harmony/enhanced/drlvm/trunk/src/test/regression/H3225/PositiveJsrTest.j Thu Jun 14 10:47:17
2007
@@ -180,7 +180,6 @@
.end method
-
;
; A subroutine graph contains several unreachable nodes.
;
@@ -273,4 +272,23 @@
.end method
+;
+; An exception range ends at the end of the method.
+;
+.method public testWideExceptionRange()V
+ .limit stack 1
+ .limit locals 1
+
+ jsr LabelSub
+ ldc "Constant"
+LabelStart:
+ return
+
+LabelSub:
+ astore 0
+ ret 0
+LabelEnd:
+.catch all from LabelSub to LabelEnd using LabelStart
+
+.end method
|