diff options
author | aclement <aclement> | 2006-04-06 11:45:02 +0000 |
---|---|---|
committer | aclement <aclement> | 2006-04-06 11:45:02 +0000 |
commit | 1a6f69583137f03d2a8052148a17eebe8e79e162 (patch) | |
tree | 7f500202f7254b3e2db306c7e826d87b800a8683 /tests/bugs152 | |
parent | 94d8b82fbf3cb18a14d77508b3adad6d50434080 (diff) | |
download | aspectj-1a6f69583137f03d2a8052148a17eebe8e79e162.tar.gz aspectj-1a6f69583137f03d2a8052148a17eebe8e79e162.zip |
test and fix for 135001
Diffstat (limited to 'tests/bugs152')
-rw-r--r-- | tests/bugs152/pr135001/AbstractAspect.java | 9 | ||||
-rw-r--r-- | tests/bugs152/pr135001/ConcreteAspect.java | 3 | ||||
-rw-r--r-- | tests/bugs152/pr135001/Foo.java | 9 |
3 files changed, 21 insertions, 0 deletions
diff --git a/tests/bugs152/pr135001/AbstractAspect.java b/tests/bugs152/pr135001/AbstractAspect.java new file mode 100644 index 000000000..6f4d57951 --- /dev/null +++ b/tests/bugs152/pr135001/AbstractAspect.java @@ -0,0 +1,9 @@ +public abstract aspect AbstractAspect { + + abstract pointcut scope(); + + void around(): scope() { + System.err.println("In the advice!"); + proceed(); + } +}
\ No newline at end of file diff --git a/tests/bugs152/pr135001/ConcreteAspect.java b/tests/bugs152/pr135001/ConcreteAspect.java new file mode 100644 index 000000000..df6119758 --- /dev/null +++ b/tests/bugs152/pr135001/ConcreteAspect.java @@ -0,0 +1,3 @@ +public aspect ConcreteAspect extends AbstractAspect { + pointcut scope(): call(* foo(..)); +}
\ No newline at end of file diff --git a/tests/bugs152/pr135001/Foo.java b/tests/bugs152/pr135001/Foo.java new file mode 100644 index 000000000..4a80ea394 --- /dev/null +++ b/tests/bugs152/pr135001/Foo.java @@ -0,0 +1,9 @@ +public class Foo { + public static void main(String[] args) { + new Foo().foo(); + } + + public void foo() { + + } +}
\ No newline at end of file |