aboutsummaryrefslogtreecommitdiffstats
path: root/org.aspectj.ajdt.core/testdata/src1
diff options
context:
space:
mode:
authorjhugunin <jhugunin>2003-03-12 19:52:13 +0000
committerjhugunin <jhugunin>2003-03-12 19:52:13 +0000
commitdb37189cebba13a30b7ccdabe70565caa7506c00 (patch)
tree2d9d79a58d108057d638eafcfd68a6b060377f5a /org.aspectj.ajdt.core/testdata/src1
parenta57ec8d9cff0ca35ce9efb59c79a5f1ec90c13cb (diff)
downloadaspectj-db37189cebba13a30b7ccdabe70565caa7506c00.tar.gz
aspectj-db37189cebba13a30b7ccdabe70565caa7506c00.zip
fix and test for Bugzilla Bug 34820
ajc -aspectpath fails with NPE for cflow pointcuts
Diffstat (limited to 'org.aspectj.ajdt.core/testdata/src1')
-rw-r--r--org.aspectj.ajdt.core/testdata/src1/binary/lib/ConcreteA.aj8
1 files changed, 8 insertions, 0 deletions
diff --git a/org.aspectj.ajdt.core/testdata/src1/binary/lib/ConcreteA.aj b/org.aspectj.ajdt.core/testdata/src1/binary/lib/ConcreteA.aj
index 15a3d5cc6..12a7aa38a 100644
--- a/org.aspectj.ajdt.core/testdata/src1/binary/lib/ConcreteA.aj
+++ b/org.aspectj.ajdt.core/testdata/src1/binary/lib/ConcreteA.aj
@@ -11,4 +11,12 @@ public aspect ConcreteA {
public static class MyException extends Exception {}
declare soft: MyException: withincode(new(..));
+
+
+ // added this to cover Bugzilla Bug 34820
+ // ajc -aspectpath fails with NPE for cflow pointcuts
+ int counter = 0;
+ before(): cflow(within(client..*)) && call(* println(..)) {
+ counter ++;
+ }
} \ No newline at end of file