diff options
author | acolyer <acolyer> | 2006-05-02 17:02:25 +0000 |
---|---|---|
committer | acolyer <acolyer> | 2006-05-02 17:02:25 +0000 |
commit | 18c308fb3c26227f7cae5ad728d3565079edd4b5 (patch) | |
tree | 9028307185ac9c8632cd402df99583b641fcab81 /tests/src/org | |
parent | c5c18aaea1700d75e8f92a530133ae371924f33c (diff) | |
download | aspectj-18c308fb3c26227f7cae5ad728d3565079edd4b5.tar.gz aspectj-18c308fb3c26227f7cae5ad728d3565079edd4b5.zip |
tests for pr139749 - calling super in @AspectJ advice body causes VerifyError
Diffstat (limited to 'tests/src/org')
-rw-r--r-- | tests/src/org/aspectj/systemtest/ajc152/Ajc152Tests.java | 3 | ||||
-rw-r--r-- | tests/src/org/aspectj/systemtest/ajc152/ajc152.xml | 5 |
2 files changed, 7 insertions, 1 deletions
diff --git a/tests/src/org/aspectj/systemtest/ajc152/Ajc152Tests.java b/tests/src/org/aspectj/systemtest/ajc152/Ajc152Tests.java index a89421cda..4ae8e9d89 100644 --- a/tests/src/org/aspectj/systemtest/ajc152/Ajc152Tests.java +++ b/tests/src/org/aspectj/systemtest/ajc152/Ajc152Tests.java @@ -38,7 +38,8 @@ public class Ajc152Tests extends org.aspectj.testing.XMLBasedAjcTestCase { public void testReferencePCutInDeclareWarning_pr138215() { runTest("Reference pointcut fails inside @DeclareWarning");} // public void testReferencePCutInPerClause_pr138219() { runTest("Can't use a FQ Reference pointcut in any pointcut expression referenced by a per-clause");} // public void testDoubleAnnotationMatching_pr138223() { runTest("Double at annotation matching (no binding)");} - +// public void testSuperCallsInAtAspectJAdvice_pr139749() { runTest("Super calls in @AspectJ advice");} + public void testNoClassCastExceptionWithPerThis_pr138286() { runTest("No ClassCastException with perThis");} // this next one reported as a bug by Rob Harrop, but I can't reproduce the failure yet... diff --git a/tests/src/org/aspectj/systemtest/ajc152/ajc152.xml b/tests/src/org/aspectj/systemtest/ajc152/ajc152.xml index b9ab6e947..600c318ae 100644 --- a/tests/src/org/aspectj/systemtest/ajc152/ajc152.xml +++ b/tests/src/org/aspectj/systemtest/ajc152/ajc152.xml @@ -192,4 +192,9 @@ </run> </ajc-test> + <ajc-test dir="bugs152/pr139749" pr="139749" title="Super calls in @AspectJ advice"> + <compile files="AroundAdvicePassingPjpAsArgToSuper.java" options="-1.5"> + </compile> + <run class="a.b.c.AroundAdvicePassingPjpAsArgToSuper"/> + </ajc-test> </suite>
\ No newline at end of file |