aboutsummaryrefslogtreecommitdiffstats
path: root/weaver/testdata/AddNotResidueDynamicHelloWorld.txt
diff options
context:
space:
mode:
Diffstat (limited to 'weaver/testdata/AddNotResidueDynamicHelloWorld.txt')
-rw-r--r--weaver/testdata/AddNotResidueDynamicHelloWorld.txt82
1 files changed, 82 insertions, 0 deletions
diff --git a/weaver/testdata/AddNotResidueDynamicHelloWorld.txt b/weaver/testdata/AddNotResidueDynamicHelloWorld.txt
new file mode 100644
index 000000000..48a5bfd77
--- /dev/null
+++ b/weaver/testdata/AddNotResidueDynamicHelloWorld.txt
@@ -0,0 +1,82 @@
+public class DynamicHelloWorld extends java.lang.Object implements java.io.Serializable:
+ public void <init>():
+ ALOAD_0 // DynamicHelloWorld this (line 8)
+ INVOKESPECIAL java.lang.Object.<init> ()V
+ constructor-execution(void DynamicHelloWorld.<init>())
+ | RETURN
+ constructor-execution(void DynamicHelloWorld.<init>())
+ end public void <init>()
+
+ public static void main(String[]):
+ method-execution(void DynamicHelloWorld.main(java.lang.String[]))
+ | catch java.lang.UnsupportedOperationException -> E0
+ | | NEW DynamicHelloWorld (line 12)
+ | | DUP
+ | | constructor-call(void DynamicHelloWorld.<init>())
+ | | | INVOKESPECIAL DynamicHelloWorld.<init> ()V
+ | | constructor-call(void DynamicHelloWorld.<init>())
+ | | 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)
+ | | 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))
+ | | POP
+ | | 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)
+ | NEW java.lang.StringBuffer
+ | DUP
+ | LDC "expected and caught: "
+ | constructor-call(void java.lang.StringBuffer.<init>(java.lang.String))
+ | | INVOKESPECIAL java.lang.StringBuffer.<init> (Ljava/lang/String;)V
+ | constructor-call(void java.lang.StringBuffer.<init>(java.lang.String))
+ | 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;
+ | method-call(java.lang.StringBuffer java.lang.StringBuffer.append(java.lang.Object))
+ | method-call(java.lang.String java.lang.StringBuffer.toString())
+ | | INVOKEVIRTUAL java.lang.StringBuffer.toString ()Ljava/lang/String;
+ | method-call(java.lang.String java.lang.StringBuffer.toString())
+ | method-call(void java.io.PrintStream.println(java.lang.String))
+ | | INVOKEVIRTUAL java.io.PrintStream.println (Ljava/lang/String;)V
+ | method-call(void java.io.PrintStream.println(java.lang.String))
+ | RETURN (line 15)
+ | L0: NEW java.lang.RuntimeException (line 17)
+ | DUP
+ | LDC "should have caught exception"
+ | constructor-call(void java.lang.RuntimeException.<init>(java.lang.String))
+ | | INVOKESPECIAL java.lang.RuntimeException.<init> (Ljava/lang/String;)V
+ | constructor-call(void java.lang.RuntimeException.<init>(java.lang.String))
+ | ATHROW
+ method-execution(void DynamicHelloWorld.main(java.lang.String[]))
+ end public static void main(String[])
+
+ String doit(String, java.util.List):
+ method-execution(java.lang.String DynamicHelloWorld.doit(java.lang.String, java.util.List))
+ | ALOAD_2 // java.util.List l (line 21)
+ | ALOAD_1 // java.lang.String arg0
+ | ASTORE_3
+ | ASTORE 4
+ | method-call(boolean java.util.List.add(java.lang.Object))
+ | | ALOAD 4
+ | | INSTANCEOF java.util.ArrayList
+ | | IFNE L0
+ | | INVOKESTATIC Aspect.ajc_before_0 ()V
+ | | L0: ALOAD 4
+ | | ALOAD_3
+ | | INVOKEINTERFACE java.util.List.add (Ljava/lang/Object;)Z
+ | method-call(boolean java.util.List.add(java.lang.Object))
+ | POP
+ | ALOAD_2 // java.util.List l (line 22)
+ | method-call(java.lang.String java.lang.Object.toString())
+ | | INVOKEVIRTUAL java.lang.Object.toString ()Ljava/lang/String;
+ | method-call(java.lang.String java.lang.Object.toString())
+ | ARETURN
+ method-execution(java.lang.String DynamicHelloWorld.doit(java.lang.String, java.util.List))
+ end String doit(String, java.util.List)
+end public class DynamicHelloWorld