diff options
author | Andy Clement <aclement@gopivotal.com> | 2014-04-15 16:51:02 -0700 |
---|---|---|
committer | Andy Clement <aclement@gopivotal.com> | 2014-04-15 16:51:02 -0700 |
commit | c641ffdbb6c04956a7b1a6d6c89c9c6c67be0761 (patch) | |
tree | 3391f978edd551335757a67d6c03c5890c3312c5 /tests/bugs180 | |
parent | 5aaca752afa424015f81379dcd0a69e737340e56 (diff) | |
download | aspectj-c641ffdbb6c04956a7b1a6d6c89c9c6c67be0761.tar.gz aspectj-c641ffdbb6c04956a7b1a6d6c89c9c6c67be0761.zip |
Fix 432178: percflow concreteaspectcodegen problem
Diffstat (limited to 'tests/bugs180')
-rw-r--r-- | tests/bugs180/432178/A.java | 9 | ||||
-rw-r--r-- | tests/bugs180/432178/B.java | 7 | ||||
-rw-r--r-- | tests/bugs180/432178/PerCFlowBug.java | 11 | ||||
-rw-r--r-- | tests/bugs180/432178/aop.xml | 9 |
4 files changed, 36 insertions, 0 deletions
diff --git a/tests/bugs180/432178/A.java b/tests/bugs180/432178/A.java new file mode 100644 index 000000000..1ed166fa6 --- /dev/null +++ b/tests/bugs180/432178/A.java @@ -0,0 +1,9 @@ +public class A +{ + public static void main(String [] args) + { + B test = new B(); + test.met(); + } +} + diff --git a/tests/bugs180/432178/B.java b/tests/bugs180/432178/B.java new file mode 100644 index 000000000..624865cc9 --- /dev/null +++ b/tests/bugs180/432178/B.java @@ -0,0 +1,7 @@ +public class B +{ + public void met() + { + System.out.println("foo"); + } +} diff --git a/tests/bugs180/432178/PerCFlowBug.java b/tests/bugs180/432178/PerCFlowBug.java new file mode 100644 index 000000000..e81bd65c4 --- /dev/null +++ b/tests/bugs180/432178/PerCFlowBug.java @@ -0,0 +1,11 @@ +public abstract aspect PerCFlowBug percflow(pointexp()) +{ + String name = "bar"; + + abstract pointcut pointexp(); + + after() : pointexp() + { + System.out.println(name); + } +} diff --git a/tests/bugs180/432178/aop.xml b/tests/bugs180/432178/aop.xml new file mode 100644 index 000000000..dc317213e --- /dev/null +++ b/tests/bugs180/432178/aop.xml @@ -0,0 +1,9 @@ +<aspectj> + <aspects> + <concrete-aspect name="PerCFlowBugImpl" extends="PerCFlowBug"> + <pointcut name="pointexp" expression="(call (void *.met(..)))"/> + </concrete-aspect> + </aspects> + <weaver options="-verbose -debug -showWeaveInfo" > + </weaver> +</aspectj> |