You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@harmony.apache.org by gs...@apache.org on 2007/08/14 17:10:23 UTC

svn commit: r565800 - in /harmony/enhanced/buildtest/branches/2.0/tests/vts/vm: config/ src/test/vm/jvms/classFile/limitations/variables/variables01/ src/test/vm/jvms/instructions/arithm/iinc/iinc06/iinc0601/ src/test/vm/jvms/instructions/branching/ret...

Author: gshimansky
Date: Tue Aug 14 08:10:21 2007
New Revision: 565800

URL: http://svn.apache.org/viewvc?view=rev&rev=565800
Log:
Applied patch from HARMONY-4333
[buildtest][vts] Some tests which use boundary values should expect that VM can throw StackOverflowError or OutOfMemoryError

I also removed the tests from exclude list


Modified:
    harmony/enhanced/buildtest/branches/2.0/tests/vts/vm/config/exclude.file
    harmony/enhanced/buildtest/branches/2.0/tests/vts/vm/src/test/vm/jvms/classFile/limitations/variables/variables01/Variables01.j
    harmony/enhanced/buildtest/branches/2.0/tests/vts/vm/src/test/vm/jvms/instructions/arithm/iinc/iinc06/iinc0601/iinc0601p.j
    harmony/enhanced/buildtest/branches/2.0/tests/vts/vm/src/test/vm/jvms/instructions/branching/ret_w/ret_w01/ret_w0101/ret_w0101p.j
    harmony/enhanced/buildtest/branches/2.0/tests/vts/vm/src/test/vm/jvms/instructions/loadStore/aload/aload12/aload1201/aload1201p.j
    harmony/enhanced/buildtest/branches/2.0/tests/vts/vm/src/test/vm/jvms/instructions/loadStore/astore/astore03/astore0301/astore0301p.j
    harmony/enhanced/buildtest/branches/2.0/tests/vts/vm/src/test/vm/jvms/instructions/loadStore/astore/astore12/astore1201/astore1201p.j
    harmony/enhanced/buildtest/branches/2.0/tests/vts/vm/src/test/vm/jvms/instructions/loadStore/dload/dload12/dload1201/dload1201p.j
    harmony/enhanced/buildtest/branches/2.0/tests/vts/vm/src/test/vm/jvms/instructions/loadStore/dstore/dstore12/dstore1201/dstore1201p.j
    harmony/enhanced/buildtest/branches/2.0/tests/vts/vm/src/test/vm/jvms/instructions/loadStore/fload/fload12/fload1201/fload1201p.j
    harmony/enhanced/buildtest/branches/2.0/tests/vts/vm/src/test/vm/jvms/instructions/loadStore/fstore/fstore12/fstore1201/fstore1201p.j
    harmony/enhanced/buildtest/branches/2.0/tests/vts/vm/src/test/vm/jvms/instructions/loadStore/iload/iload12/iload1201/iload1201p.j
    harmony/enhanced/buildtest/branches/2.0/tests/vts/vm/src/test/vm/jvms/instructions/loadStore/istore/istore12/istore1201/istore1201p.j
    harmony/enhanced/buildtest/branches/2.0/tests/vts/vm/src/test/vm/jvms/instructions/loadStore/lload/lload12/lload1201/lload1201p.j
    harmony/enhanced/buildtest/branches/2.0/tests/vts/vm/src/test/vm/jvms/instructions/loadStore/lstore/lstore12/lstore1201/lstore1201p.j
    harmony/enhanced/buildtest/branches/2.0/tests/vts/vm/src/test/vm/jvms/instructions/reftypes/newarray/newarray08/newarray0801/newarray0801p.j

Modified: harmony/enhanced/buildtest/branches/2.0/tests/vts/vm/config/exclude.file
URL: http://svn.apache.org/viewvc/harmony/enhanced/buildtest/branches/2.0/tests/vts/vm/config/exclude.file?view=diff&rev=565800&r1=565799&r2=565800
==============================================================================
--- harmony/enhanced/buildtest/branches/2.0/tests/vts/vm/config/exclude.file (original)
+++ harmony/enhanced/buildtest/branches/2.0/tests/vts/vm/config/exclude.file Tue Aug 14 08:10:21 2007
@@ -65,7 +65,6 @@
 vm/jvms/threads/threads201/threads20101/threads20101.xml       # test issue 9914 intermittent failure
 vm/jvms/threads/threads209/threads20901/threads20901.xml       # test issue 9914 intermittent failure
 vm/jvms/threads/threads189/threads18901/threads18901.xml       # test issue 9914 intermittent failure
-vm/jvms/instructions/reftypes/newarray/newarray08/newarray0801/newarray0801.xml		# test creates very large array but does not expect that VM can throw SOME
 vm/jvms/classFile/finally/finally09/finally0901/finally0901.xml  (former # H-3755)				
 vm/jvms/classFile/constraints/structural/constraint23/subroutine01/subroutine01.xml (former # H-3755)
 # test issue, see comments H-3866
@@ -116,20 +115,6 @@
 vm/jvmti/funcs/GetMethodModifiers/GetMethodModifiers0102/GetMethodModifiers0102.xml 		# Harmony limitations
 vm/jvmti/funcs/IsMethodNative/IsMethodNative0102/IsMethodNative0102.xml 			# Harmony limitations
 vm/jvmti/funcs/IsMethodSynthetic/IsMethodSynthetic0103/IsMethodSynthetic0103.xml 		# Harmony limitations
-vm/jvms/classFile/limitations/variables/variables01/variables01.xml 
-vm/jvms/instructions/arithm/iinc/iinc06/iinc0601/iinc0601.xml 
-vm/jvms/instructions/branching/ret_w/ret_w01/ret_w0101/ret_w0101.xml 
 vm/jvms/instructions/invokeReturn/invokedynamic/invokedynamic01/invokedynamic0101/invokedynamic0101.xml 
-vm/jvms/instructions/loadStore/aload/aload12/aload1201/aload1201.xml 
-vm/jvms/instructions/loadStore/astore/astore03/astore0301/astore0301.xml 
-vm/jvms/instructions/loadStore/astore/astore12/astore1201/astore1201.xml 
-vm/jvms/instructions/loadStore/dload/dload12/dload1201/dload1201.xml 
-vm/jvms/instructions/loadStore/dstore/dstore12/dstore1201/dstore1201.xml 
-vm/jvms/instructions/loadStore/fload/fload12/fload1201/fload1201.xml 
-vm/jvms/instructions/loadStore/fstore/fstore12/fstore1201/fstore1201.xml 
-vm/jvms/instructions/loadStore/iload/iload12/iload1201/iload1201.xml 
-vm/jvms/instructions/loadStore/istore/istore12/istore1201/istore1201.xml 
-vm/jvms/instructions/loadStore/lload/lload12/lload1201/lload1201.xml 
-vm/jvms/instructions/loadStore/lstore/lstore12/lstore1201/lstore1201.xml 
 
 

Modified: harmony/enhanced/buildtest/branches/2.0/tests/vts/vm/src/test/vm/jvms/classFile/limitations/variables/variables01/Variables01.j
URL: http://svn.apache.org/viewvc/harmony/enhanced/buildtest/branches/2.0/tests/vts/vm/src/test/vm/jvms/classFile/limitations/variables/variables01/Variables01.j?view=diff&rev=565800&r1=565799&r2=565800
==============================================================================
--- harmony/enhanced/buildtest/branches/2.0/tests/vts/vm/src/test/vm/jvms/classFile/limitations/variables/variables01/Variables01.j (original)
+++ harmony/enhanced/buildtest/branches/2.0/tests/vts/vm/src/test/vm/jvms/classFile/limitations/variables/variables01/Variables01.j Tue Aug 14 08:10:21 2007
@@ -37,15 +37,21 @@
 .method public static main([Ljava/lang/String;)V
 .limit stack 2
 .limit locals 1
-.var 0 is arg0 [Ljava/lang/String; from Label0 to Label1
+.var 0 is arg0 [Ljava/lang/String; from L1 to L4
+.catch java/lang/StackOverflowError from L1 to L2 using L2
 
-Label0:
+L1:
 	new org/apache/harmony/vts/test/vm/jvms/classFile/limitations/variables/variables01/Variables01
 	dup
 	invokespecial org/apache/harmony/vts/test/vm/jvms/classFile/limitations/variables/variables01/Variables01/<init>()V
 	invokevirtual org/apache/harmony/vts/test/vm/jvms/classFile/limitations/variables/variables01/Variables01/test()I
+        goto L3
+L2:
+        pop
+        sipush 104
+L3:
 	invokestatic java/lang/System/exit(I)V
-Label1:
+L4:
 	return
 
 .end method

Modified: harmony/enhanced/buildtest/branches/2.0/tests/vts/vm/src/test/vm/jvms/instructions/arithm/iinc/iinc06/iinc0601/iinc0601p.j
URL: http://svn.apache.org/viewvc/harmony/enhanced/buildtest/branches/2.0/tests/vts/vm/src/test/vm/jvms/instructions/arithm/iinc/iinc06/iinc0601/iinc0601p.j?view=diff&rev=565800&r1=565799&r2=565800
==============================================================================
--- harmony/enhanced/buildtest/branches/2.0/tests/vts/vm/src/test/vm/jvms/instructions/arithm/iinc/iinc06/iinc0601/iinc0601p.j (original)
+++ harmony/enhanced/buildtest/branches/2.0/tests/vts/vm/src/test/vm/jvms/instructions/arithm/iinc/iinc06/iinc0601/iinc0601p.j Tue Aug 14 08:10:21 2007
@@ -64,12 +64,19 @@
   .limit stack 2
   .limit locals 2
 
+  .catch java/lang/StackOverflowError from L1 to L2 using L2
+L1:                                                
   new org/apache/harmony/vts/test/vm/jvms/instructions/arithm/iinc/iinc06/iinc0601/iinc0601p
   dup
   invokespecial org/apache/harmony/vts/test/vm/jvms/instructions/arithm/iinc/iinc06/iinc0601/iinc0601p/<init>()V
   aload_0
- invokevirtual org/apache/harmony/vts/test/vm/jvms/instructions/arithm/iinc/iinc06/iinc0601/iinc0601p/test([Ljava/lang/String;)I
+  invokevirtual org/apache/harmony/vts/test/vm/jvms/instructions/arithm/iinc/iinc06/iinc0601/iinc0601p/test([Ljava/lang/String;)I
+  goto L3
 
+L2:
+  pop
+  sipush 104
+L3:
   invokestatic java/lang/System/exit(I)V
 
   return

Modified: harmony/enhanced/buildtest/branches/2.0/tests/vts/vm/src/test/vm/jvms/instructions/branching/ret_w/ret_w01/ret_w0101/ret_w0101p.j
URL: http://svn.apache.org/viewvc/harmony/enhanced/buildtest/branches/2.0/tests/vts/vm/src/test/vm/jvms/instructions/branching/ret_w/ret_w01/ret_w0101/ret_w0101p.j?view=diff&rev=565800&r1=565799&r2=565800
==============================================================================
--- harmony/enhanced/buildtest/branches/2.0/tests/vts/vm/src/test/vm/jvms/instructions/branching/ret_w/ret_w01/ret_w0101/ret_w0101p.j (original)
+++ harmony/enhanced/buildtest/branches/2.0/tests/vts/vm/src/test/vm/jvms/instructions/branching/ret_w/ret_w01/ret_w0101/ret_w0101p.j Tue Aug 14 08:10:21 2007
@@ -48,14 +48,20 @@
 ; standard main function
 .method public static main([Ljava/lang/String;)V
    .limit stack 3
-  .limit locals 2
+   .limit locals 2
 
+  .catch java/lang/StackOverflowError from L1 to L2 using L2
+L1:                                                
   new org/apache/harmony/vts/test/vm/jvms/instructions/branching/ret_w/ret_w01/ret_w0101/ret_w0101p
   dup
   invokespecial org/apache/harmony/vts/test/vm/jvms/instructions/branching/ret_w/ret_w01/ret_w0101/ret_w0101p/<init>()V
   aload_0
   invokevirtual org/apache/harmony/vts/test/vm/jvms/instructions/branching/ret_w/ret_w01/ret_w0101/ret_w0101p/test([Ljava/lang/String;)I
-
+  goto L3
+L2:
+  pop
+  sipush 104
+L3:  
   invokestatic java/lang/System/exit(I)V
 
   return

Modified: harmony/enhanced/buildtest/branches/2.0/tests/vts/vm/src/test/vm/jvms/instructions/loadStore/aload/aload12/aload1201/aload1201p.j
URL: http://svn.apache.org/viewvc/harmony/enhanced/buildtest/branches/2.0/tests/vts/vm/src/test/vm/jvms/instructions/loadStore/aload/aload12/aload1201/aload1201p.j?view=diff&rev=565800&r1=565799&r2=565800
==============================================================================
--- harmony/enhanced/buildtest/branches/2.0/tests/vts/vm/src/test/vm/jvms/instructions/loadStore/aload/aload12/aload1201/aload1201p.j (original)
+++ harmony/enhanced/buildtest/branches/2.0/tests/vts/vm/src/test/vm/jvms/instructions/loadStore/aload/aload12/aload1201/aload1201p.j Tue Aug 14 08:10:21 2007
@@ -63,11 +63,18 @@
   .limit stack 2
   .limit locals 1
 
+  .catch java/lang/StackOverflowError from L1 to L2 using L2
+L1:                                                
   new org/apache/harmony/vts/test/vm/jvms/instructions/loadStore/aload/aload12/aload1201/aload1201p
   dup
   invokespecial org/apache/harmony/vts/test/vm/jvms/instructions/loadStore/aload/aload12/aload1201/aload1201p/<init>()V
   aload_0
   invokevirtual org/apache/harmony/vts/test/vm/jvms/instructions/loadStore/aload/aload12/aload1201/aload1201p/test([Ljava/lang/String;)I
+  goto L3
+L2:
+  pop
+  sipush 104
+L3:
   invokestatic java/lang/System/exit(I)V
 
   return

Modified: harmony/enhanced/buildtest/branches/2.0/tests/vts/vm/src/test/vm/jvms/instructions/loadStore/astore/astore03/astore0301/astore0301p.j
URL: http://svn.apache.org/viewvc/harmony/enhanced/buildtest/branches/2.0/tests/vts/vm/src/test/vm/jvms/instructions/loadStore/astore/astore03/astore0301/astore0301p.j?view=diff&rev=565800&r1=565799&r2=565800
==============================================================================
--- harmony/enhanced/buildtest/branches/2.0/tests/vts/vm/src/test/vm/jvms/instructions/loadStore/astore/astore03/astore0301/astore0301p.j (original)
+++ harmony/enhanced/buildtest/branches/2.0/tests/vts/vm/src/test/vm/jvms/instructions/loadStore/astore/astore03/astore0301/astore0301p.j Tue Aug 14 08:10:21 2007
@@ -60,11 +60,18 @@
   .limit stack 2
   .limit locals 1
 
+  .catch java/lang/StackOverflowError from L1 to L2 using L2
+L1:                                                
   new org/apache/harmony/vts/test/vm/jvms/instructions/loadStore/astore/astore03/astore0301/astore0301p
   dup
   invokespecial org/apache/harmony/vts/test/vm/jvms/instructions/loadStore/astore/astore03/astore0301/astore0301p/<init>()V
   aload_0
   invokevirtual org/apache/harmony/vts/test/vm/jvms/instructions/loadStore/astore/astore03/astore0301/astore0301p/test([Ljava/lang/String;)I
+  goto L3
+L2:
+  pop
+  sipush 104
+L3:
   invokestatic java/lang/System/exit(I)V
 
   return

Modified: harmony/enhanced/buildtest/branches/2.0/tests/vts/vm/src/test/vm/jvms/instructions/loadStore/astore/astore12/astore1201/astore1201p.j
URL: http://svn.apache.org/viewvc/harmony/enhanced/buildtest/branches/2.0/tests/vts/vm/src/test/vm/jvms/instructions/loadStore/astore/astore12/astore1201/astore1201p.j?view=diff&rev=565800&r1=565799&r2=565800
==============================================================================
--- harmony/enhanced/buildtest/branches/2.0/tests/vts/vm/src/test/vm/jvms/instructions/loadStore/astore/astore12/astore1201/astore1201p.j (original)
+++ harmony/enhanced/buildtest/branches/2.0/tests/vts/vm/src/test/vm/jvms/instructions/loadStore/astore/astore12/astore1201/astore1201p.j Tue Aug 14 08:10:21 2007
@@ -63,11 +63,18 @@
   .limit stack 2
   .limit locals 1
 
+  .catch java/lang/StackOverflowError from L1 to L2 using L2
+L1:                                                
   new org/apache/harmony/vts/test/vm/jvms/instructions/loadStore/astore/astore12/astore1201/astore1201p
   dup
   invokespecial org/apache/harmony/vts/test/vm/jvms/instructions/loadStore/astore/astore12/astore1201/astore1201p/<init>()V
   aload_0
   invokevirtual org/apache/harmony/vts/test/vm/jvms/instructions/loadStore/astore/astore12/astore1201/astore1201p/test([Ljava/lang/String;)I
+  goto L3
+L2:
+  pop
+  sipush 104
+L3:
   invokestatic java/lang/System/exit(I)V
 
   return

Modified: harmony/enhanced/buildtest/branches/2.0/tests/vts/vm/src/test/vm/jvms/instructions/loadStore/dload/dload12/dload1201/dload1201p.j
URL: http://svn.apache.org/viewvc/harmony/enhanced/buildtest/branches/2.0/tests/vts/vm/src/test/vm/jvms/instructions/loadStore/dload/dload12/dload1201/dload1201p.j?view=diff&rev=565800&r1=565799&r2=565800
==============================================================================
--- harmony/enhanced/buildtest/branches/2.0/tests/vts/vm/src/test/vm/jvms/instructions/loadStore/dload/dload12/dload1201/dload1201p.j (original)
+++ harmony/enhanced/buildtest/branches/2.0/tests/vts/vm/src/test/vm/jvms/instructions/loadStore/dload/dload12/dload1201/dload1201p.j Tue Aug 14 08:10:21 2007
@@ -64,11 +64,18 @@
   .limit stack 2
   .limit locals 1
 
+  .catch java/lang/StackOverflowError from L1 to L2 using L2
+L1:                                                
   new org/apache/harmony/vts/test/vm/jvms/instructions/loadStore/dload/dload12/dload1201/dload1201p
   dup
   invokespecial org/apache/harmony/vts/test/vm/jvms/instructions/loadStore/dload/dload12/dload1201/dload1201p/<init>()V
   aload_0
   invokevirtual org/apache/harmony/vts/test/vm/jvms/instructions/loadStore/dload/dload12/dload1201/dload1201p/test([Ljava/lang/String;)I
+  goto L3
+L2:
+  pop
+  sipush 104
+L3:
   invokestatic java/lang/System/exit(I)V
 
   return

Modified: harmony/enhanced/buildtest/branches/2.0/tests/vts/vm/src/test/vm/jvms/instructions/loadStore/dstore/dstore12/dstore1201/dstore1201p.j
URL: http://svn.apache.org/viewvc/harmony/enhanced/buildtest/branches/2.0/tests/vts/vm/src/test/vm/jvms/instructions/loadStore/dstore/dstore12/dstore1201/dstore1201p.j?view=diff&rev=565800&r1=565799&r2=565800
==============================================================================
--- harmony/enhanced/buildtest/branches/2.0/tests/vts/vm/src/test/vm/jvms/instructions/loadStore/dstore/dstore12/dstore1201/dstore1201p.j (original)
+++ harmony/enhanced/buildtest/branches/2.0/tests/vts/vm/src/test/vm/jvms/instructions/loadStore/dstore/dstore12/dstore1201/dstore1201p.j Tue Aug 14 08:10:21 2007
@@ -64,11 +64,18 @@
   .limit stack 2
   .limit locals 1
 
+  .catch java/lang/StackOverflowError from L1 to L2 using L2
+L1:                                                
   new org/apache/harmony/vts/test/vm/jvms/instructions/loadStore/dstore/dstore12/dstore1201/dstore1201p
   dup
   invokespecial org/apache/harmony/vts/test/vm/jvms/instructions/loadStore/dstore/dstore12/dstore1201/dstore1201p/<init>()V
   aload_0
   invokevirtual org/apache/harmony/vts/test/vm/jvms/instructions/loadStore/dstore/dstore12/dstore1201/dstore1201p/test([Ljava/lang/String;)I
+  goto L3
+L2:
+  pop
+  sipush 104
+L3:
   invokestatic java/lang/System/exit(I)V
 
   return

Modified: harmony/enhanced/buildtest/branches/2.0/tests/vts/vm/src/test/vm/jvms/instructions/loadStore/fload/fload12/fload1201/fload1201p.j
URL: http://svn.apache.org/viewvc/harmony/enhanced/buildtest/branches/2.0/tests/vts/vm/src/test/vm/jvms/instructions/loadStore/fload/fload12/fload1201/fload1201p.j?view=diff&rev=565800&r1=565799&r2=565800
==============================================================================
--- harmony/enhanced/buildtest/branches/2.0/tests/vts/vm/src/test/vm/jvms/instructions/loadStore/fload/fload12/fload1201/fload1201p.j (original)
+++ harmony/enhanced/buildtest/branches/2.0/tests/vts/vm/src/test/vm/jvms/instructions/loadStore/fload/fload12/fload1201/fload1201p.j Tue Aug 14 08:10:21 2007
@@ -64,11 +64,18 @@
   .limit stack 2
   .limit locals 1
 
+  .catch java/lang/StackOverflowError from L1 to L2 using L2
+L1:                                                
   new org/apache/harmony/vts/test/vm/jvms/instructions/loadStore/fload/fload12/fload1201/fload1201p
   dup
   invokespecial org/apache/harmony/vts/test/vm/jvms/instructions/loadStore/fload/fload12/fload1201/fload1201p/<init>()V
   aload_0
   invokevirtual org/apache/harmony/vts/test/vm/jvms/instructions/loadStore/fload/fload12/fload1201/fload1201p/test([Ljava/lang/String;)I
+  goto L3
+L2:
+  pop
+  sipush 104
+L3:  
   invokestatic java/lang/System/exit(I)V
 
   return

Modified: harmony/enhanced/buildtest/branches/2.0/tests/vts/vm/src/test/vm/jvms/instructions/loadStore/fstore/fstore12/fstore1201/fstore1201p.j
URL: http://svn.apache.org/viewvc/harmony/enhanced/buildtest/branches/2.0/tests/vts/vm/src/test/vm/jvms/instructions/loadStore/fstore/fstore12/fstore1201/fstore1201p.j?view=diff&rev=565800&r1=565799&r2=565800
==============================================================================
--- harmony/enhanced/buildtest/branches/2.0/tests/vts/vm/src/test/vm/jvms/instructions/loadStore/fstore/fstore12/fstore1201/fstore1201p.j (original)
+++ harmony/enhanced/buildtest/branches/2.0/tests/vts/vm/src/test/vm/jvms/instructions/loadStore/fstore/fstore12/fstore1201/fstore1201p.j Tue Aug 14 08:10:21 2007
@@ -64,11 +64,18 @@
   .limit stack 2
   .limit locals 1
 
+  .catch java/lang/StackOverflowError from L1 to L2 using L2
+L1:                                                
   new org/apache/harmony/vts/test/vm/jvms/instructions/loadStore/fstore/fstore12/fstore1201/fstore1201p
   dup
   invokespecial org/apache/harmony/vts/test/vm/jvms/instructions/loadStore/fstore/fstore12/fstore1201/fstore1201p/<init>()V
   aload_0
   invokevirtual org/apache/harmony/vts/test/vm/jvms/instructions/loadStore/fstore/fstore12/fstore1201/fstore1201p/test([Ljava/lang/String;)I
+  goto L3
+L2:
+  pop
+  sipush 104
+L3:
   invokestatic java/lang/System/exit(I)V
 
   return

Modified: harmony/enhanced/buildtest/branches/2.0/tests/vts/vm/src/test/vm/jvms/instructions/loadStore/iload/iload12/iload1201/iload1201p.j
URL: http://svn.apache.org/viewvc/harmony/enhanced/buildtest/branches/2.0/tests/vts/vm/src/test/vm/jvms/instructions/loadStore/iload/iload12/iload1201/iload1201p.j?view=diff&rev=565800&r1=565799&r2=565800
==============================================================================
--- harmony/enhanced/buildtest/branches/2.0/tests/vts/vm/src/test/vm/jvms/instructions/loadStore/iload/iload12/iload1201/iload1201p.j (original)
+++ harmony/enhanced/buildtest/branches/2.0/tests/vts/vm/src/test/vm/jvms/instructions/loadStore/iload/iload12/iload1201/iload1201p.j Tue Aug 14 08:10:21 2007
@@ -62,11 +62,18 @@
   .limit stack 2
   .limit locals 1
 
+  .catch java/lang/StackOverflowError from L1 to L2 using L2
+L1:                                                
   new org/apache/harmony/vts/test/vm/jvms/instructions/loadStore/iload/iload12/iload1201/iload1201p
   dup
   invokespecial org/apache/harmony/vts/test/vm/jvms/instructions/loadStore/iload/iload12/iload1201/iload1201p/<init>()V
   aload_0
   invokevirtual org/apache/harmony/vts/test/vm/jvms/instructions/loadStore/iload/iload12/iload1201/iload1201p/test([Ljava/lang/String;)I
+  goto L3
+L2:
+  pop
+  sipush 104
+L3:
   invokestatic java/lang/System/exit(I)V
 
   return

Modified: harmony/enhanced/buildtest/branches/2.0/tests/vts/vm/src/test/vm/jvms/instructions/loadStore/istore/istore12/istore1201/istore1201p.j
URL: http://svn.apache.org/viewvc/harmony/enhanced/buildtest/branches/2.0/tests/vts/vm/src/test/vm/jvms/instructions/loadStore/istore/istore12/istore1201/istore1201p.j?view=diff&rev=565800&r1=565799&r2=565800
==============================================================================
--- harmony/enhanced/buildtest/branches/2.0/tests/vts/vm/src/test/vm/jvms/instructions/loadStore/istore/istore12/istore1201/istore1201p.j (original)
+++ harmony/enhanced/buildtest/branches/2.0/tests/vts/vm/src/test/vm/jvms/instructions/loadStore/istore/istore12/istore1201/istore1201p.j Tue Aug 14 08:10:21 2007
@@ -62,11 +62,18 @@
   .limit stack 2
   .limit locals 1
 
+  .catch java/lang/StackOverflowError from L1 to L2 using L2
+L1:                                                
   new org/apache/harmony/vts/test/vm/jvms/instructions/loadStore/istore/istore12/istore1201/istore1201p
   dup
   invokespecial org/apache/harmony/vts/test/vm/jvms/instructions/loadStore/istore/istore12/istore1201/istore1201p/<init>()V
   aload_0
   invokevirtual org/apache/harmony/vts/test/vm/jvms/instructions/loadStore/istore/istore12/istore1201/istore1201p/test([Ljava/lang/String;)I
+  goto L3
+L2:
+  pop
+  sipush 104
+L3:
   invokestatic java/lang/System/exit(I)V
 
   return

Modified: harmony/enhanced/buildtest/branches/2.0/tests/vts/vm/src/test/vm/jvms/instructions/loadStore/lload/lload12/lload1201/lload1201p.j
URL: http://svn.apache.org/viewvc/harmony/enhanced/buildtest/branches/2.0/tests/vts/vm/src/test/vm/jvms/instructions/loadStore/lload/lload12/lload1201/lload1201p.j?view=diff&rev=565800&r1=565799&r2=565800
==============================================================================
--- harmony/enhanced/buildtest/branches/2.0/tests/vts/vm/src/test/vm/jvms/instructions/loadStore/lload/lload12/lload1201/lload1201p.j (original)
+++ harmony/enhanced/buildtest/branches/2.0/tests/vts/vm/src/test/vm/jvms/instructions/loadStore/lload/lload12/lload1201/lload1201p.j Tue Aug 14 08:10:21 2007
@@ -64,11 +64,18 @@
   .limit stack 2
   .limit locals 1
 
+  .catch java/lang/StackOverflowError from L1 to L2 using L2
+L1:                                                
   new org/apache/harmony/vts/test/vm/jvms/instructions/loadStore/lload/lload12/lload1201/lload1201p
   dup
   invokespecial org/apache/harmony/vts/test/vm/jvms/instructions/loadStore/lload/lload12/lload1201/lload1201p/<init>()V
   aload_0
   invokevirtual org/apache/harmony/vts/test/vm/jvms/instructions/loadStore/lload/lload12/lload1201/lload1201p/test([Ljava/lang/String;)I
+  goto L3
+L2:
+  pop
+  sipush 104
+L3:
   invokestatic java/lang/System/exit(I)V
 
   return

Modified: harmony/enhanced/buildtest/branches/2.0/tests/vts/vm/src/test/vm/jvms/instructions/loadStore/lstore/lstore12/lstore1201/lstore1201p.j
URL: http://svn.apache.org/viewvc/harmony/enhanced/buildtest/branches/2.0/tests/vts/vm/src/test/vm/jvms/instructions/loadStore/lstore/lstore12/lstore1201/lstore1201p.j?view=diff&rev=565800&r1=565799&r2=565800
==============================================================================
--- harmony/enhanced/buildtest/branches/2.0/tests/vts/vm/src/test/vm/jvms/instructions/loadStore/lstore/lstore12/lstore1201/lstore1201p.j (original)
+++ harmony/enhanced/buildtest/branches/2.0/tests/vts/vm/src/test/vm/jvms/instructions/loadStore/lstore/lstore12/lstore1201/lstore1201p.j Tue Aug 14 08:10:21 2007
@@ -65,11 +65,18 @@
   .limit stack 2
   .limit locals 1
 
+  .catch java/lang/StackOverflowError from L1 to L2 using L2
+L1:                                                
   new org/apache/harmony/vts/test/vm/jvms/instructions/loadStore/lstore/lstore12/lstore1201/lstore1201p
   dup
   invokespecial org/apache/harmony/vts/test/vm/jvms/instructions/loadStore/lstore/lstore12/lstore1201/lstore1201p/<init>()V
   aload_0
   invokevirtual org/apache/harmony/vts/test/vm/jvms/instructions/loadStore/lstore/lstore12/lstore1201/lstore1201p/test([Ljava/lang/String;)I
+  goto L3
+L2:
+  pop
+  sipush 104
+L3:
   invokestatic java/lang/System/exit(I)V
 
   return

Modified: harmony/enhanced/buildtest/branches/2.0/tests/vts/vm/src/test/vm/jvms/instructions/reftypes/newarray/newarray08/newarray0801/newarray0801p.j
URL: http://svn.apache.org/viewvc/harmony/enhanced/buildtest/branches/2.0/tests/vts/vm/src/test/vm/jvms/instructions/reftypes/newarray/newarray08/newarray0801/newarray0801p.j?view=diff&rev=565800&r1=565799&r2=565800
==============================================================================
--- harmony/enhanced/buildtest/branches/2.0/tests/vts/vm/src/test/vm/jvms/instructions/reftypes/newarray/newarray08/newarray0801/newarray0801p.j (original)
+++ harmony/enhanced/buildtest/branches/2.0/tests/vts/vm/src/test/vm/jvms/instructions/reftypes/newarray/newarray08/newarray0801/newarray0801p.j Tue Aug 14 08:10:21 2007
@@ -34,9 +34,12 @@
 .method public test([Ljava/lang/String;)I
    .limit stack 2
    .limit locals 2
+  .catch java/lang/OutOfMemoryError from L1 to L2 using L3
+L1:                                                
 
    ldc 50555555 ; push 50555555 into the stack
    newarray boolean 
+L2:
 
    arraylength
    ldc 50555555
@@ -49,6 +52,10 @@
    ; test failed
    sipush 105
    ireturn
+L3: 
+   sipush 104
+   ireturn
+
 .end method
 
 ;