diff options
author | aclement <aclement> | 2010-10-29 22:48:40 +0000 |
---|---|---|
committer | aclement <aclement> | 2010-10-29 22:48:40 +0000 |
commit | 49b7bcba4455b3a8be486b28516e6cddf827aa69 (patch) | |
tree | ce8407d35b75d5cb4e178aab927d40f486525161 /tests/multiIncremental/pr329111 | |
parent | ba6a61bbbf9016fc40c195b2704743717951b4c3 (diff) | |
download | aspectj-49b7bcba4455b3a8be486b28516e6cddf827aa69.tar.gz aspectj-49b7bcba4455b3a8be486b28516e6cddf827aa69.zip |
329111
Diffstat (limited to 'tests/multiIncremental/pr329111')
-rw-r--r-- | tests/multiIncremental/pr329111/base/src/AJ.java | 12 | ||||
-rw-r--r-- | tests/multiIncremental/pr329111/base/src/AJ2.java | 20 |
2 files changed, 32 insertions, 0 deletions
diff --git a/tests/multiIncremental/pr329111/base/src/AJ.java b/tests/multiIncremental/pr329111/base/src/AJ.java new file mode 100644 index 000000000..9bbb2be5a --- /dev/null +++ b/tests/multiIncremental/pr329111/base/src/AJ.java @@ -0,0 +1,12 @@ +public aspect AJ { + + class X{} + interface Y {} + + declare parents : X implements Y; + declare soft : Exception : execution(void x()); + + void x() { + throw new Exception(); + } +} diff --git a/tests/multiIncremental/pr329111/base/src/AJ2.java b/tests/multiIncremental/pr329111/base/src/AJ2.java new file mode 100644 index 000000000..6ae24484c --- /dev/null +++ b/tests/multiIncremental/pr329111/base/src/AJ2.java @@ -0,0 +1,20 @@ +public aspect AJ2 { + + class X{} + interface Y {} + + declare soft : Exception : execution(void x()); + declare parents : X implements Y; + declare soft : Exception : execution(void y()); + declare soft : Exception : execution(void z()); + + void x() { + throw new Exception(); + } + void y() { + throw new Exception(); + } + void z() { + throw new Exception(); + } +} |