aboutsummaryrefslogtreecommitdiffstats
path: root/tests/multiIncremental/PR141956
diff options
context:
space:
mode:
authoraclement <aclement>2006-05-17 11:38:39 +0000
committeraclement <aclement>2006-05-17 11:38:39 +0000
commit5f6a6b12c560f80dd720a943c4c63cf8dc182cc3 (patch)
treef84c6f2c0b932ae8ea3d28c06b12b35fcd98bb7b /tests/multiIncremental/PR141956
parent7d9a7287ee1aef66ba2edf55ef2fec2bf95b0dc3 (diff)
downloadaspectj-5f6a6b12c560f80dd720a943c4c63cf8dc182cc3.tar.gz
aspectj-5f6a6b12c560f80dd720a943c4c63cf8dc182cc3.zip
test and fix for 141956
Diffstat (limited to 'tests/multiIncremental/PR141956')
-rw-r--r--tests/multiIncremental/PR141956/base/A.java10
-rw-r--r--tests/multiIncremental/PR141956/base/C.java8
-rw-r--r--tests/multiIncremental/PR141956/inc1/C.java8
3 files changed, 26 insertions, 0 deletions
diff --git a/tests/multiIncremental/PR141956/base/A.java b/tests/multiIncremental/PR141956/base/A.java
new file mode 100644
index 000000000..2cfd92ebf
--- /dev/null
+++ b/tests/multiIncremental/PR141956/base/A.java
@@ -0,0 +1,10 @@
+import org.aspectj.lang.annotation.*;
+
+@Aspect
+public class A {
+
+ @Before("within(C) && call(* foo(..))")
+ public void touchBeforeExecute() {
+ System.err.println("foo called");
+ }
+} \ No newline at end of file
diff --git a/tests/multiIncremental/PR141956/base/C.java b/tests/multiIncremental/PR141956/base/C.java
new file mode 100644
index 000000000..23fbdd7d2
--- /dev/null
+++ b/tests/multiIncremental/PR141956/base/C.java
@@ -0,0 +1,8 @@
+public class C {
+ public static void main(String[] args) {
+ new C().foo();
+ }
+ public void foo() {
+ System.err.println("foo running");
+ }
+} \ No newline at end of file
diff --git a/tests/multiIncremental/PR141956/inc1/C.java b/tests/multiIncremental/PR141956/inc1/C.java
new file mode 100644
index 000000000..23fbdd7d2
--- /dev/null
+++ b/tests/multiIncremental/PR141956/inc1/C.java
@@ -0,0 +1,8 @@
+public class C {
+ public static void main(String[] args) {
+ new C().foo();
+ }
+ public void foo() {
+ System.err.println("foo running");
+ }
+} \ No newline at end of file