diff options
author | aclement <aclement> | 2006-05-24 07:15:42 +0000 |
---|---|---|
committer | aclement <aclement> | 2006-05-24 07:15:42 +0000 |
commit | b2247654a3b35eb26731fac20247fc3007612eab (patch) | |
tree | 3b3bc6d6e2833e1d62aaf4506b1e8e3f4d12f51d /tests/features152/synchronization/transformed/expected | |
parent | 917a3a70f5c09f16151200f13eb89283c4bb2abf (diff) | |
download | aspectj-b2247654a3b35eb26731fac20247fc3007612eab.tar.gz aspectj-b2247654a3b35eb26731fac20247fc3007612eab.zip |
synchronization joinpoints: testcode
Diffstat (limited to 'tests/features152/synchronization/transformed/expected')
17 files changed, 495 insertions, 0 deletions
diff --git a/tests/features152/synchronization/transformed/expected/C.b.txt b/tests/features152/synchronization/transformed/expected/C.b.txt new file mode 100644 index 000000000..15f85674d --- /dev/null +++ b/tests/features152/synchronization/transformed/expected/C.b.txt @@ -0,0 +1,22 @@ + public static void b() org.aspectj.weaver.MethodDeclarationLineNumber: 17:340 +: + LDC C + DUP + ASTORE_0 + MONITORENTER + finally -> E1 + | GETSTATIC java.lang.System.err Ljava/io/PrintStream; (line 18) + | LDC "hello" + | INVOKESTATIC Five.aspectOf ()LFive; + | INVOKEVIRTUAL Five.ajc$before$Five$1$af123de3 ()V + | INVOKEVIRTUAL java.io.PrintStream.println (Ljava/lang/String;)V + | ALOAD_0 + | MONITOREXIT + | RETURN (line 19) + finally -> E1 + finally -> E1 + | E1: ALOAD_0 + | MONITOREXIT + finally -> E1 + ATHROW + end public static void b() diff --git a/tests/features152/synchronization/transformed/expected/C.bbb.txt b/tests/features152/synchronization/transformed/expected/C.bbb.txt new file mode 100644 index 000000000..b9f54d8eb --- /dev/null +++ b/tests/features152/synchronization/transformed/expected/C.bbb.txt @@ -0,0 +1,38 @@ + public static void bbb() org.aspectj.weaver.MethodDeclarationLineNumber: 15:316 +: + GETSTATIC C.class$1 Ljava/lang/Class; + DUP + IFNONNULL L0 + POP + catch java.lang.ClassNotFoundException -> E0 + | LDC "C" + | INVOKESTATIC java.lang.Class.forName (Ljava/lang/String;)Ljava/lang/Class; + catch java.lang.ClassNotFoundException -> E0 + DUP + PUTSTATIC C.class$1 Ljava/lang/Class; + GOTO L0 + E0: NEW java.lang.NoClassDefFoundError + DUP_X1 + SWAP + INVOKEVIRTUAL java.lang.Throwable.getMessage ()Ljava/lang/String; + INVOKESPECIAL java.lang.NoClassDefFoundError.<init> (Ljava/lang/String;)V + ATHROW + L0: DUP + ASTORE_0 + MONITORENTER + finally -> E2 + | GETSTATIC java.lang.System.err Ljava/io/PrintStream; (line 16) + | LDC "hello" + | INVOKESTATIC Six.aspectOf ()LSix; + | INVOKEVIRTUAL Six.ajc$before$Six$1$cb48297b ()V + | INVOKEVIRTUAL java.io.PrintStream.println (Ljava/lang/String;)V + | ALOAD_0 + | MONITOREXIT + | RETURN (line 17) + finally -> E2 + finally -> E2 + | E2: ALOAD_0 + | MONITOREXIT + finally -> E2 + ATHROW + end public static void bbb() diff --git a/tests/features152/synchronization/transformed/expected/C.m.txt b/tests/features152/synchronization/transformed/expected/C.m.txt new file mode 100644 index 000000000..7f5a34cdc --- /dev/null +++ b/tests/features152/synchronization/transformed/expected/C.m.txt @@ -0,0 +1,23 @@ + public void m() org.aspectj.weaver.MethodDeclarationLineNumber: 16:496 +: + ALOAD_0 + DUP + ASTORE_1 + MONITORENTER + finally -> E1 + | GETSTATIC java.lang.System.err Ljava/io/PrintStream; (line 17) + | LDC "hello" + | INVOKEVIRTUAL java.io.PrintStream.println (Ljava/lang/String;)V + | ALOAD_1 + | MONITOREXIT + | GOTO L0 (line 18) + finally -> E1 + finally -> E1 + | E1: ALOAD_1 + | MONITOREXIT + finally -> E1 + ATHROW + L0: INVOKESTATIC Four.aspectOf ()LFour; + INVOKEVIRTUAL Four.ajc$afterReturning$Four$1$c2776aed ()V + RETURN + end public void m() diff --git a/tests/features152/synchronization/transformed/expected/C.m2.txt b/tests/features152/synchronization/transformed/expected/C.m2.txt new file mode 100644 index 000000000..ab4a19919 --- /dev/null +++ b/tests/features152/synchronization/transformed/expected/C.m2.txt @@ -0,0 +1,28 @@ + public void m2() org.aspectj.weaver.MethodDeclarationLineNumber: 20:571 +: + catch java.lang.Throwable -> E2 + | ALOAD_0 + | DUP + | ASTORE_1 + | MONITORENTER + | finally -> E1 + | | GETSTATIC java.lang.System.err Ljava/io/PrintStream; (line 21) + | | LDC "hello" + | | INVOKEVIRTUAL java.io.PrintStream.println (Ljava/lang/String;)V + | | NEW MyException (line 22) + | | DUP + | | INVOKESPECIAL MyException.<init> ()V + | | ATHROW + | finally -> E1 + | finally -> E1 + | | E1: ALOAD_1 + | | MONITOREXIT + | finally -> E1 + | ATHROW + catch java.lang.Throwable -> E2 + E2: ASTORE_2 + INVOKESTATIC Four.aspectOf ()LFour; + INVOKEVIRTUAL Four.ajc$afterThrowing$Four$2$9d31eed1 ()V + ALOAD_2 + ATHROW + end public void m2() diff --git a/tests/features152/synchronization/transformed/expected/C.m3.txt b/tests/features152/synchronization/transformed/expected/C.m3.txt new file mode 100644 index 000000000..f1157285e --- /dev/null +++ b/tests/features152/synchronization/transformed/expected/C.m3.txt @@ -0,0 +1,23 @@ + public void m3() org.aspectj.weaver.MethodDeclarationLineNumber: 20:747 +: + ALOAD_0 + DUP + ASTORE_1 + MONITORENTER + finally -> E1 + | GETSTATIC java.lang.System.err Ljava/io/PrintStream; (line 21) + | LDC "hello" + | INVOKEVIRTUAL java.io.PrintStream.println (Ljava/lang/String;)V + | ALOAD_1 + | MONITOREXIT + | GOTO L0 (line 22) + finally -> E1 + finally -> E1 + | E1: ALOAD_1 + | MONITOREXIT + finally -> E1 + ATHROW + L0: INVOKESTATIC Three.aspectOf ()LThree; + INVOKEVIRTUAL Three.ajc$afterReturning$Three$1$3f09355c ()V + RETURN + end public void m3() diff --git a/tests/features152/synchronization/transformed/expected/C.m32.txt b/tests/features152/synchronization/transformed/expected/C.m32.txt new file mode 100644 index 000000000..0e2819293 --- /dev/null +++ b/tests/features152/synchronization/transformed/expected/C.m32.txt @@ -0,0 +1,28 @@ + public void m32() org.aspectj.weaver.MethodDeclarationLineNumber: 24:823 +: + catch java.lang.Throwable -> E2 + | ALOAD_0 + | DUP + | ASTORE_1 + | MONITORENTER + | finally -> E1 + | | GETSTATIC java.lang.System.err Ljava/io/PrintStream; (line 25) + | | LDC "hello" + | | INVOKEVIRTUAL java.io.PrintStream.println (Ljava/lang/String;)V + | | NEW MyException (line 26) + | | DUP + | | INVOKESPECIAL MyException.<init> ()V + | | ATHROW + | finally -> E1 + | finally -> E1 + | | E1: ALOAD_1 + | | MONITOREXIT + | finally -> E1 + | ATHROW + catch java.lang.Throwable -> E2 + E2: ASTORE_2 + INVOKESTATIC Three.aspectOf ()LThree; + INVOKEVIRTUAL Three.ajc$afterThrowing$Three$2$b2d97242 ()V + ALOAD_2 + ATHROW + end public void m32() diff --git a/tests/features152/synchronization/transformed/expected/C.m33.txt b/tests/features152/synchronization/transformed/expected/C.m33.txt new file mode 100644 index 000000000..86b78ffb3 --- /dev/null +++ b/tests/features152/synchronization/transformed/expected/C.m33.txt @@ -0,0 +1,24 @@ + public void m33() org.aspectj.weaver.MethodDeclarationLineNumber: 29:917 +: + ALOAD_0 // LC; this (line 30) + DUP + ASTORE_1 + MONITORENTER + finally -> E1 + | GETSTATIC java.lang.System.err Ljava/io/PrintStream; (line 31) + | LDC "hello" + | INVOKEVIRTUAL java.io.PrintStream.println (Ljava/lang/String;)V + | ALOAD_1 (line 30) + | MONITOREXIT + finally -> E1 + GOTO L0 + finally -> E1 + | E1: ALOAD_1 + | MONITOREXIT + finally -> E1 + ATHROW + L0: GOTO L1 (line 33) + L1: INVOKESTATIC Three.aspectOf ()LThree; + INVOKEVIRTUAL Three.ajc$afterReturning$Three$3$b48e4ae1 ()V + RETURN + end public void m33() diff --git a/tests/features152/synchronization/transformed/expected/C.m34.txt b/tests/features152/synchronization/transformed/expected/C.m34.txt new file mode 100644 index 000000000..c787ba249 --- /dev/null +++ b/tests/features152/synchronization/transformed/expected/C.m34.txt @@ -0,0 +1,26 @@ + public void m34() org.aspectj.weaver.MethodDeclarationLineNumber: 35:1018 +: + catch java.lang.Throwable -> E1 + | ALOAD_0 // LC; this (line 36) + | DUP + | ASTORE_1 + | MONITORENTER + | finally -> E0 + | | GETSTATIC java.lang.System.err Ljava/io/PrintStream; (line 37) + | | LDC "hello" + | | INVOKEVIRTUAL java.io.PrintStream.println (Ljava/lang/String;)V + | | NEW MyException (line 38) + | | DUP + | | INVOKESPECIAL MyException.<init> ()V + | | ATHROW + | | E0: ALOAD_1 (line 36) + | | MONITOREXIT + | finally -> E0 + | ATHROW + catch java.lang.Throwable -> E1 + E1: ASTORE_2 + INVOKESTATIC Three.aspectOf ()LThree; + INVOKEVIRTUAL Three.ajc$afterThrowing$Three$4$b6432380 ()V + ALOAD_2 + ATHROW + end public void m34() diff --git a/tests/features152/synchronization/transformed/expected/C.m4.txt b/tests/features152/synchronization/transformed/expected/C.m4.txt new file mode 100644 index 000000000..9e50085ea --- /dev/null +++ b/tests/features152/synchronization/transformed/expected/C.m4.txt @@ -0,0 +1,26 @@ + public void m4() org.aspectj.weaver.MethodDeclarationLineNumber: 35:1007 +: + catch java.lang.Throwable -> E1 + | ALOAD_0 // LC; this (line 36) + | DUP + | ASTORE_1 + | MONITORENTER + | finally -> E0 + | | GETSTATIC java.lang.System.err Ljava/io/PrintStream; (line 37) + | | LDC "hello" + | | INVOKEVIRTUAL java.io.PrintStream.println (Ljava/lang/String;)V + | | NEW MyException (line 38) + | | DUP + | | INVOKESPECIAL MyException.<init> ()V + | | ATHROW + | | E0: ALOAD_1 (line 36) + | | MONITOREXIT + | finally -> E0 + | ATHROW + catch java.lang.Throwable -> E1 + E1: ASTORE_2 + INVOKESTATIC Three.aspectOf ()LThree; + INVOKEVIRTUAL Three.ajc$afterThrowing$Three$4$40be0dfb ()V + ALOAD_2 + ATHROW + end public void m4() diff --git a/tests/features152/synchronization/transformed/expected/C.ma.txt b/tests/features152/synchronization/transformed/expected/C.ma.txt new file mode 100644 index 000000000..0a6b97849 --- /dev/null +++ b/tests/features152/synchronization/transformed/expected/C.ma.txt @@ -0,0 +1,22 @@ + public void ma() org.aspectj.weaver.MethodDeclarationLineNumber: 14:307 +: + INVOKESTATIC Two.aspectOf ()LTwo; + INVOKEVIRTUAL Two.ajc$before$Two$1$8d8821ee ()V + ALOAD_0 + DUP + ASTORE_1 + MONITORENTER + finally -> E1 + | GETSTATIC java.lang.System.err Ljava/io/PrintStream; (line 15) + | LDC "hello" + | INVOKEVIRTUAL java.io.PrintStream.println (Ljava/lang/String;)V + | ALOAD_1 + | MONITOREXIT + | RETURN (line 16) + finally -> E1 + finally -> E1 + | E1: ALOAD_1 + | MONITOREXIT + finally -> E1 + ATHROW + end public void ma() diff --git a/tests/features152/synchronization/transformed/expected/Investigation.b.txt b/tests/features152/synchronization/transformed/expected/Investigation.b.txt new file mode 100644 index 000000000..15f83a1d6 --- /dev/null +++ b/tests/features152/synchronization/transformed/expected/Investigation.b.txt @@ -0,0 +1,21 @@ + public void b() org.aspectj.weaver.MethodDeclarationLineNumber: 19:312 +: + ALOAD_0 // LInvestigation; this (line 20) + DUP + ASTORE_1 + MONITORENTER + finally -> E1 + | GETSTATIC java.lang.System.out Ljava/io/PrintStream; (line 21) + | LDC "hello" + | INVOKEVIRTUAL java.io.PrintStream.println (Ljava/lang/String;)V + | ALOAD_1 (line 20) + | MONITOREXIT + finally -> E1 + GOTO L0 + finally -> E1 + | E1: ALOAD_1 + | MONITOREXIT + finally -> E1 + ATHROW + L0: RETURN (line 23) + end public void b() diff --git a/tests/features152/synchronization/transformed/expected/Investigation.c.txt b/tests/features152/synchronization/transformed/expected/Investigation.c.txt new file mode 100644 index 000000000..7fa235d5d --- /dev/null +++ b/tests/features152/synchronization/transformed/expected/Investigation.c.txt @@ -0,0 +1,35 @@ + public void c() org.aspectj.weaver.MethodDeclarationLineNumber: 26:439 +: + ALOAD_0 // LInvestigation; this (line 27) + DUP + ASTORE_1 + MONITORENTER + finally -> E2 + | catch java.io.IOException -> E0 + | | NEW java.io.File (line 29) + | | DUP + | | LDC "fred" + | | INVOKESPECIAL java.io.File.<init> (Ljava/lang/String;)V + | | ASTORE_2 + | | NEW java.io.FileInputStream (line 30) + | | DUP + | | ALOAD_2 // Ljava/io/File; f + | | INVOKESPECIAL java.io.FileInputStream.<init> (Ljava/io/File;)V + | | POP + | | GOTO L0 + | catch java.io.IOException -> E0 + | E0: POP (line 31) + | GETSTATIC java.lang.System.out Ljava/io/PrintStream; (line 32) + | LDC "bang" + | INVOKEVIRTUAL java.io.PrintStream.println (Ljava/lang/String;)V + | L0: ALOAD_1 (line 27) + | MONITOREXIT + finally -> E2 + GOTO L1 + finally -> E2 + | E2: ALOAD_1 + | MONITOREXIT + finally -> E2 + ATHROW + L1: RETURN (line 35) + end public void c() diff --git a/tests/features152/synchronization/transformed/expected/Investigation.d.txt b/tests/features152/synchronization/transformed/expected/Investigation.d.txt new file mode 100644 index 000000000..a2a73c36a --- /dev/null +++ b/tests/features152/synchronization/transformed/expected/Investigation.d.txt @@ -0,0 +1,38 @@ + public void d() org.aspectj.weaver.MethodDeclarationLineNumber: 38:706 +: + ALOAD_0 // LInvestigation; this (line 39) + DUP + ASTORE_1 + MONITORENTER + finally -> E1 + | GETSTATIC java.lang.System.out Ljava/io/PrintStream; (line 40) + | LDC "hello" + | INVOKEVIRTUAL java.io.PrintStream.println (Ljava/lang/String;)V + | ALOAD_1 (line 39) + | MONITOREXIT + finally -> E1 + GOTO L0 + finally -> E1 + | E1: ALOAD_1 + | MONITOREXIT + finally -> E1 + ATHROW + L0: ALOAD_0 // LInvestigation; this (line 42) + DUP + ASTORE_1 + MONITORENTER + finally -> E3 + | GETSTATIC java.lang.System.out Ljava/io/PrintStream; (line 43) + | LDC "world" + | INVOKEVIRTUAL java.io.PrintStream.println (Ljava/lang/String;)V + | ALOAD_1 (line 42) + | MONITOREXIT + finally -> E3 + GOTO L1 + finally -> E3 + | E3: ALOAD_1 + | MONITOREXIT + finally -> E3 + ATHROW + L1: RETURN (line 45) + end public void d() diff --git a/tests/features152/synchronization/transformed/expected/Investigation.e.txt b/tests/features152/synchronization/transformed/expected/Investigation.e.txt new file mode 100644 index 000000000..6508daf3a --- /dev/null +++ b/tests/features152/synchronization/transformed/expected/Investigation.e.txt @@ -0,0 +1,40 @@ + public void e() org.aspectj.weaver.MethodDeclarationLineNumber: 48:904 +: + ALOAD_0 // LInvestigation; this (line 49) + DUP + ASTORE_1 + MONITORENTER + finally -> E3 + | GETSTATIC java.lang.System.out Ljava/io/PrintStream; (line 50) + | LDC "hello" + | INVOKEVIRTUAL java.io.PrintStream.println (Ljava/lang/String;)V + | NEW java.lang.String (line 51) + | DUP + | INVOKESPECIAL java.lang.String.<init> ()V + | DUP + | ASTORE_2 + | MONITORENTER + | finally -> E1 + | | GETSTATIC java.lang.System.out Ljava/io/PrintStream; (line 52) + | | LDC "other" + | | INVOKEVIRTUAL java.io.PrintStream.println (Ljava/lang/String;)V + | | ALOAD_2 (line 51) + | | MONITOREXIT + | finally -> E1 + | GOTO L0 + | finally -> E1 + | | E1: ALOAD_2 + | | MONITOREXIT + | finally -> E1 + | ATHROW + | L0: ALOAD_1 (line 49) + | MONITOREXIT + finally -> E3 + GOTO L1 + finally -> E3 + | E3: ALOAD_1 + | MONITOREXIT + finally -> E3 + ATHROW + L1: RETURN (line 55) + end public void e() diff --git a/tests/features152/synchronization/transformed/expected/One.b.txt b/tests/features152/synchronization/transformed/expected/One.b.txt new file mode 100644 index 000000000..948cb66cd --- /dev/null +++ b/tests/features152/synchronization/transformed/expected/One.b.txt @@ -0,0 +1,22 @@ + public void b() org.aspectj.weaver.MethodDeclarationLineNumber: 13:259 +: + ALOAD_0 + DUP + ASTORE_1 + MONITORENTER + finally -> E1 + | GETSTATIC java.lang.System.out Ljava/io/PrintStream; (line 14) + | LDC "hello" + | INVOKESTATIC One.aspectOf ()LOne; + | INVOKEVIRTUAL One.ajc$before$One$1$d2a8f7b9 ()V + | INVOKEVIRTUAL java.io.PrintStream.println (Ljava/lang/String;)V + | ALOAD_1 + | MONITOREXIT + | RETURN (line 15) + finally -> E1 + finally -> E1 + | E1: ALOAD_1 + | MONITOREXIT + finally -> E1 + ATHROW + end public void b() diff --git a/tests/features152/synchronization/transformed/expected/One.c.txt b/tests/features152/synchronization/transformed/expected/One.c.txt new file mode 100644 index 000000000..3641c9b36 --- /dev/null +++ b/tests/features152/synchronization/transformed/expected/One.c.txt @@ -0,0 +1,36 @@ + public void c() org.aspectj.weaver.MethodDeclarationLineNumber: 18:368 +: + ALOAD_0 + DUP + ASTORE_2 + MONITORENTER + finally -> E2 + | catch java.io.IOException -> E0 + | | NEW java.io.File (line 20) + | | DUP + | | LDC "fred" + | | INVOKESPECIAL java.io.File.<init> (Ljava/lang/String;)V + | | ASTORE_1 + | | NEW java.io.FileInputStream (line 21) + | | DUP + | | ALOAD_1 // Ljava/io/File; f + | | INVOKESPECIAL java.io.FileInputStream.<init> (Ljava/io/File;)V + | | POP + | | GOTO L0 + | catch java.io.IOException -> E0 + | E0: POP (line 22) + | GETSTATIC java.lang.System.out Ljava/io/PrintStream; (line 23) + | LDC "bang" + | INVOKESTATIC One.aspectOf ()LOne; + | INVOKEVIRTUAL One.ajc$before$One$1$d2a8f7b9 ()V + | INVOKEVIRTUAL java.io.PrintStream.println (Ljava/lang/String;)V + | L0: ALOAD_2 + | MONITOREXIT + | RETURN (line 25) + finally -> E2 + finally -> E2 + | E2: ALOAD_2 + | MONITOREXIT + finally -> E2 + ATHROW + end public void c() diff --git a/tests/features152/synchronization/transformed/expected/One.e.txt b/tests/features152/synchronization/transformed/expected/One.e.txt new file mode 100644 index 000000000..85d93f0ed --- /dev/null +++ b/tests/features152/synchronization/transformed/expected/One.e.txt @@ -0,0 +1,43 @@ + public void e() org.aspectj.weaver.MethodDeclarationLineNumber: 28:611 +: + ALOAD_0 + DUP + ASTORE_2 + MONITORENTER + finally -> E3 + | GETSTATIC java.lang.System.out Ljava/io/PrintStream; (line 29) + | LDC "hello" + | INVOKESTATIC One.aspectOf ()LOne; + | INVOKEVIRTUAL One.ajc$before$One$1$d2a8f7b9 ()V + | INVOKEVIRTUAL java.io.PrintStream.println (Ljava/lang/String;)V + | NEW java.lang.String (line 30) + | DUP + | INVOKESPECIAL java.lang.String.<init> ()V + | DUP + | ASTORE_1 + | MONITORENTER + | finally -> E1 + | | GETSTATIC java.lang.System.out Ljava/io/PrintStream; (line 31) + | | LDC "other" + | | INVOKESTATIC One.aspectOf ()LOne; + | | INVOKEVIRTUAL One.ajc$before$One$1$d2a8f7b9 ()V + | | INVOKEVIRTUAL java.io.PrintStream.println (Ljava/lang/String;)V + | | ALOAD_1 (line 30) + | | MONITOREXIT + | finally -> E1 + | GOTO L0 + | finally -> E1 + | | E1: ALOAD_1 + | | MONITOREXIT + | finally -> E1 + | ATHROW + | L0: ALOAD_2 + | MONITOREXIT + | RETURN (line 33) + finally -> E3 + finally -> E3 + | E3: ALOAD_2 + | MONITOREXIT + finally -> E3 + ATHROW + end public void e() |