diff options
author | aclement <aclement> | 2009-04-30 20:29:38 +0000 |
---|---|---|
committer | aclement <aclement> | 2009-04-30 20:29:38 +0000 |
commit | 1fe559e2babe14a778e200b4efccd380af5bf16b (patch) | |
tree | 65eb8e902083391a1c1fd651e9f50f58c0cf9866 /tests/src | |
parent | bd85862d023f3b8a7de01ffe3f5d2e2ef34fcaac (diff) | |
download | aspectj-1fe559e2babe14a778e200b4efccd380af5bf16b.tar.gz aspectj-1fe559e2babe14a778e200b4efccd380af5bf16b.zip |
272825: test and fix: super method call with generic itds
Diffstat (limited to 'tests/src')
-rw-r--r-- | tests/src/org/aspectj/systemtest/ajc165/Ajc165Tests.java | 4 | ||||
-rw-r--r-- | tests/src/org/aspectj/systemtest/ajc165/ajc165.xml | 14 |
2 files changed, 18 insertions, 0 deletions
diff --git a/tests/src/org/aspectj/systemtest/ajc165/Ajc165Tests.java b/tests/src/org/aspectj/systemtest/ajc165/Ajc165Tests.java index e405210f1..dcb857f8d 100644 --- a/tests/src/org/aspectj/systemtest/ajc165/Ajc165Tests.java +++ b/tests/src/org/aspectj/systemtest/ajc165/Ajc165Tests.java @@ -57,6 +57,10 @@ public class Ajc165Tests extends org.aspectj.testing.XMLBasedAjcTestCase { runTest("around call npe"); } + public void testGenericITD_pr272825() { + runTest("generic ITD"); + } + // --- public static Test suite() { diff --git a/tests/src/org/aspectj/systemtest/ajc165/ajc165.xml b/tests/src/org/aspectj/systemtest/ajc165/ajc165.xml index 723a4e0ce..c15e75830 100644 --- a/tests/src/org/aspectj/systemtest/ajc165/ajc165.xml +++ b/tests/src/org/aspectj/systemtest/ajc165/ajc165.xml @@ -32,4 +32,18 @@ <run class="p.TestPointcutAnnotationAspect"/> </ajc-test> + <ajc-test dir="bugs165/pr272825" title="generic ITD"> + <compile files="Concrete.java GenericSuper.java ITDOfMethod.aj Main.java" options="-1.5"/> + <run class="Main"> + <stdout> + <line text="In normal method"/> + <line text="else"/> + <line text="1"/> + <line text="In ITD method"/> + <line text="with"/> + <line text="2"/> + </stdout> + </run> + </ajc-test> + </suite>
\ No newline at end of file |