From ded1a744fc4a518275dbb4fcfa219939ae48ad11 Mon Sep 17 00:00:00 2001 From: acolyer Date: Thu, 16 Dec 2004 10:41:15 +0000 Subject: payback time for all the "kinding" work - only ever generate and match against shadows that we know might be matched. --- weaver/testdata/AddStateResidueDynamicHelloWorld.txt | 20 +++++--------------- 1 file changed, 5 insertions(+), 15 deletions(-) (limited to 'weaver/testdata/AddStateResidueDynamicHelloWorld.txt') diff --git a/weaver/testdata/AddStateResidueDynamicHelloWorld.txt b/weaver/testdata/AddStateResidueDynamicHelloWorld.txt index 8a3862c4b..6bc8e2154 100644 --- a/weaver/testdata/AddStateResidueDynamicHelloWorld.txt +++ b/weaver/testdata/AddStateResidueDynamicHelloWorld.txt @@ -12,13 +12,9 @@ public class DynamicHelloWorld extends java.lang.Object implements java.io.Seria | catch java.lang.UnsupportedOperationException -> E0 | | NEW DynamicHelloWorld (line 12) | | DUP - | | constructor-call(void DynamicHelloWorld.()) - | | | INVOKESPECIAL DynamicHelloWorld. ()V - | | constructor-call(void DynamicHelloWorld.()) + | | INVOKESPECIAL DynamicHelloWorld. ()V | | LDC "hello" - | | field-get(java.util.List java.util.Collections.EMPTY_LIST) - | | | GETSTATIC java.util.Collections.EMPTY_LIST Ljava/util/List; - | | field-get(java.util.List java.util.Collections.EMPTY_LIST) + | | GETSTATIC java.util.Collections.EMPTY_LIST Ljava/util/List; | | method-call(java.lang.String DynamicHelloWorld.doit(java.lang.String, java.util.List)) | | | INVOKEVIRTUAL DynamicHelloWorld.doit (Ljava/lang/String;Ljava/util/List;)Ljava/lang/String; | | method-call(java.lang.String DynamicHelloWorld.doit(java.lang.String, java.util.List)) @@ -26,15 +22,11 @@ public class DynamicHelloWorld extends java.lang.Object implements java.io.Seria | | GOTO L0 | catch java.lang.UnsupportedOperationException -> E0 | E0: ASTORE_1 (line 13) - | field-get(java.io.PrintStream java.lang.System.out) - | | GETSTATIC java.lang.System.out Ljava/io/PrintStream; (line 14) - | field-get(java.io.PrintStream java.lang.System.out) + | GETSTATIC java.lang.System.out Ljava/io/PrintStream; (line 14) | NEW java.lang.StringBuffer | DUP | LDC "expected and caught: " - | constructor-call(void java.lang.StringBuffer.(java.lang.String)) - | | INVOKESPECIAL java.lang.StringBuffer. (Ljava/lang/String;)V - | constructor-call(void java.lang.StringBuffer.(java.lang.String)) + | INVOKESPECIAL java.lang.StringBuffer. (Ljava/lang/String;)V | ALOAD_1 // java.lang.UnsupportedOperationException t | method-call(java.lang.StringBuffer java.lang.StringBuffer.append(java.lang.Object)) | | INVOKEVIRTUAL java.lang.StringBuffer.append (Ljava/lang/Object;)Ljava/lang/StringBuffer; @@ -49,9 +41,7 @@ public class DynamicHelloWorld extends java.lang.Object implements java.io.Seria | L0: NEW java.lang.RuntimeException (line 17) | DUP | LDC "should have caught exception" - | constructor-call(void java.lang.RuntimeException.(java.lang.String)) - | | INVOKESPECIAL java.lang.RuntimeException. (Ljava/lang/String;)V - | constructor-call(void java.lang.RuntimeException.(java.lang.String)) + | INVOKESPECIAL java.lang.RuntimeException. (Ljava/lang/String;)V | ATHROW method-execution(void DynamicHelloWorld.main(java.lang.String[])) end public static void main(String[]) -- cgit v1.2.3