diff options
author | aclement <aclement> | 2004-05-18 15:54:05 +0000 |
---|---|---|
committer | aclement <aclement> | 2004-05-18 15:54:05 +0000 |
commit | 68bc96dd1086d5832e96395b09f49da2b8e5f995 (patch) | |
tree | 591d5c30fa87b8e8c26dc1bb56f436f5aa15e9c9 /tests/ajcTests.xml | |
parent | b8d69e0fb755e3565831662007cef08118b24bd5 (diff) | |
download | aspectj-68bc96dd1086d5832e96395b09f49da2b8e5f995.tar.gz aspectj-68bc96dd1086d5832e96395b09f49da2b8e5f995.zip |
Tests for Bugzilla Bug 62458
An if() pointcut inside a perthis() clause causes an ABORT - null pointer exception in ajc
Diffstat (limited to 'tests/ajcTests.xml')
-rw-r--r-- | tests/ajcTests.xml | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/tests/ajcTests.xml b/tests/ajcTests.xml index d30ddb380..e540a046e 100644 --- a/tests/ajcTests.xml +++ b/tests/ajcTests.xml @@ -7733,5 +7733,28 @@ <message kind="error" line="25" file="DisjunctVarBinding_2.java" text="Ambiguous binding of type A"/> </compile> </ajc-test> + + <ajc-test dir="bugs/IfPerThis" + pr="62458" title="An if() pointcut inside a perthis() clauses an ABORT - null pointer exception in ajc"> + <compile files="Testcase1.java"> + <message kind="error" line="15" text="if() pointcut designator cannot be used directly in a per clause"/> + <message kind="error" line="23" text="if() pointcut designator cannot be used directly in a per clause"/> + <message kind="error" line="25" text="if() pointcut designator cannot be used directly in a per clause"/> + <message kind="error" line="27" text="if() pointcut designator cannot be used directly in a per clause"/> + </compile> + </ajc-test> + + <ajc-test dir="bugs/IfPerThis" + pr="62458" title="An if() pointcut inside a perthis() clauses an ABORT - null pointer exception in ajc"> + <compile files="Testcase2.java"/> + <run class="Testcase2"/> + </ajc-test> + + <ajc-test dir="bugs/IfPerThis" + pr="62458" title="An if() pointcut inside a perthis() clauses an ABORT - null pointer exception in ajc"> + <compile files="Testcase3.java"> + <message kind="error" line="2" text="if() pointcut designator cannot be used directly in a per clause"/> + </compile> + </ajc-test> </suite> |