]> source.dussan.org Git - aspectj.git/commitdiff
329111
authoraclement <aclement>
Sun, 31 Oct 2010 04:34:19 +0000 (04:34 +0000)
committeraclement <aclement>
Sun, 31 Oct 2010 04:34:19 +0000 (04:34 +0000)
tests/model/expected/pr141730_4.txt
tests/multiIncremental/pr329111/base/src/AJ3.java [new file with mode: 0644]

index 983d7a5ed4e317d1b5db014c5f90b55efba181d7..cad32e4a65731b0129140a6c20d810257506ae87 100644 (file)
       NewClass  [class] TEST_SANDBOX\NewClass.java:3:
 === END OF MODEL REPORT =========
 === RELATIONSHIPS REPORT ========= After a batch build
+(targets=1) <bar*MyBar.aj'MyBar`declare parents (declared on) /,<foo(MyFoo.class[MyFoo
 (targets=1) <bar*MyBar.aj'MyBar`declare \@type (annotates) {MyFoo.java
-(targets=1) <bar*MyBar.aj'MyBar`declare parents!2 (declared on) /,<foo(MyFoo.class[MyFoo
 (targets=1) {MyFoo.java (annotated by) <bar*MyBar.aj'MyBar`declare \@type
-(targets=1) /,<foo(MyFoo.class[MyFoo (aspect declarations) <bar*MyBar.aj'MyBar`declare parents!2
+(targets=1) /,<foo(MyFoo.class[MyFoo (aspect declarations) <bar*MyBar.aj'MyBar`declare parents
 === END OF RELATIONSHIPS REPORT ==
 === Properties of the model and relationships map =====
 import reference=4
diff --git a/tests/multiIncremental/pr329111/base/src/AJ3.java b/tests/multiIncremental/pr329111/base/src/AJ3.java
new file mode 100644 (file)
index 0000000..0dadde0
--- /dev/null
@@ -0,0 +1,18 @@
+public aspect AJ3 {
+
+    class X{}
+    interface Y {}
+    interface Z {}
+
+    declare parents : X implements Y;
+    declare warning: execution(* x(..)): "";
+    declare error: execution(* x(..)): "";
+    declare soft : Exception : execution(void x());
+    declare parents : X implements Z;
+    declare warning: execution(* x(..)): "";
+    declare error: execution(* x(..)): "";
+
+    void x() {
+        throw new Exception();
+    }
+}