From: jhugunin Date: Fri, 25 Apr 2003 18:11:33 +0000 (+0000) Subject: fix and tests for X-Git-Tag: V1_1_0_RC2~151 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=1e502f504f2ad333ad5627d8e9d106315c38ecc0;p=aspectj.git fix and tests for Bugzilla Bug 36803 BCException thrown by AspectJ 1.1rc1 --- diff --git a/tests/ajcTests.xml b/tests/ajcTests.xml index 4f869e5e4..ebaedd66c 100644 --- a/tests/ajcTests.xml +++ b/tests/ajcTests.xml @@ -5872,4 +5872,10 @@ + + + + + diff --git a/tests/bugs/CflowConcrete.java b/tests/bugs/CflowConcrete.java new file mode 100644 index 000000000..16eebeba8 --- /dev/null +++ b/tests/bugs/CflowConcrete.java @@ -0,0 +1,19 @@ +// for Bug#: 31423 +import org.aspectj.testing.Tester; + + +public class CflowConcrete { + public static void main(String[] args) { + } +} + +aspect TestAjc { + pointcut notMySelf(): !within(TestAjc) && !cflow(within(TestAjc)); + + pointcut eachCall(): notMySelf() && call(* *.*(..)); + pointcut eachExecution(): notMySelf() && execution(* *.*(..)) ; + + before(): eachCall() { System.out.println(thisJoinPoint); } + + before(): eachExecution() { System.out.println(thisJoinPoint); } +} diff --git a/tests/jimTests.xml b/tests/jimTests.xml index 61e8777a6..6de1c507c 100644 --- a/tests/jimTests.xml +++ b/tests/jimTests.xml @@ -1,7 +1,7 @@ - +