diff options
author | aclement <aclement> | 2006-05-12 10:41:42 +0000 |
---|---|---|
committer | aclement <aclement> | 2006-05-12 10:41:42 +0000 |
commit | 3ca976f0ce48a49cdcef98b7f72ce2ce23b9ef4d (patch) | |
tree | 85c2c9f8a90b59f2716fb80d9df2e4c360105e57 /tests/src | |
parent | 5d2b5b8892cc6e714565326b70d7c6a4b7007129 (diff) | |
download | aspectj-3ca976f0ce48a49cdcef98b7f72ce2ce23b9ef4d.tar.gz aspectj-3ca976f0ce48a49cdcef98b7f72ce2ce23b9ef4d.zip |
test and fix for 129704: broken @annotation for methods in generic types
Diffstat (limited to 'tests/src')
-rw-r--r-- | tests/src/org/aspectj/systemtest/ajc152/Ajc152Tests.java | 1 | ||||
-rw-r--r-- | tests/src/org/aspectj/systemtest/ajc152/ajc152.xml | 9 |
2 files changed, 10 insertions, 0 deletions
diff --git a/tests/src/org/aspectj/systemtest/ajc152/Ajc152Tests.java b/tests/src/org/aspectj/systemtest/ajc152/Ajc152Tests.java index bb6e4994c..bc369eca7 100644 --- a/tests/src/org/aspectj/systemtest/ajc152/Ajc152Tests.java +++ b/tests/src/org/aspectj/systemtest/ajc152/Ajc152Tests.java @@ -17,6 +17,7 @@ import org.aspectj.testing.XMLBasedAjcTestCase; public class Ajc152Tests extends org.aspectj.testing.XMLBasedAjcTestCase { + public void testAnnotationsAndGenericsBCException_pr129704() { runTest("annotations and generics leading to BCException");} public void testMethodTooBigAfterWeaving_pr138384() { runTest("method too big"); } public void testNotAtWithincode_pr138158_1() { runTest("not at withincode - 1");} public void testNotAtWithincode_pr138158_2() { runTest("not at withincode - 2");} diff --git a/tests/src/org/aspectj/systemtest/ajc152/ajc152.xml b/tests/src/org/aspectj/systemtest/ajc152/ajc152.xml index eb90cdda9..ce82b82eb 100644 --- a/tests/src/org/aspectj/systemtest/ajc152/ajc152.xml +++ b/tests/src/org/aspectj/systemtest/ajc152/ajc152.xml @@ -15,6 +15,15 @@ </run> </ajc-test> + <ajc-test dir="bugs152/pr129704" title="annotations and generics leading to BCException"> + <compile files="A.java" options="-1.5"/> + <run class="A"> + <stderr> + <line text="@Marker()"/> + </stderr> + </run> + </ajc-test> + <ajc-test dir="bugs152/pr136258" title="stack overflow"> <compile files="StatisticsTypeImpl.java" options="-1.5"/> <run class="StatisticsTypeImpl"/> |