summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authoracolyer <acolyer>2005-04-20 19:24:30 +0000
committeracolyer <acolyer>2005-04-20 19:24:30 +0000
commit7a639d019a9b04b3eb7af97a7a2975cbbf72e0cf (patch)
tree8bd9464cb6c1df486ab5e84d301cf82bc11fbdcb /tests
parent1e6fae862407f7c0b49321a6c452774f91f3cd04 (diff)
downloadaspectj-7a639d019a9b04b3eb7af97a7a2975cbbf72e0cf.tar.gz
aspectj-7a639d019a9b04b3eb7af97a7a2975cbbf72e0cf.zip
this set of commits teaches the TypeX world about parameterized types. it handles passing of parameterized types into the weaver from Eclipse, and back out again. Fixes the ITD and parameterized types issue that shows up in the examples. Much more work to be done in this area of course before M3.
Diffstat (limited to 'tests')
-rw-r--r--tests/java5/generics/ITDReturningParameterizedType.aj2
-rw-r--r--tests/src/org/aspectj/systemtest/ajc150/AllTestsAspectJ150.java2
2 files changed, 3 insertions, 1 deletions
diff --git a/tests/java5/generics/ITDReturningParameterizedType.aj b/tests/java5/generics/ITDReturningParameterizedType.aj
index aa5f3e978..4495e8042 100644
--- a/tests/java5/generics/ITDReturningParameterizedType.aj
+++ b/tests/java5/generics/ITDReturningParameterizedType.aj
@@ -2,6 +2,8 @@ import java.util.*;
public aspect ITDReturningParameterizedType {
+ private List<String> myStrings = new ArrayList<String>();
+
private List<String> C.strings = new ArrayList<String>();
public List<String> C.getStrings() {
diff --git a/tests/src/org/aspectj/systemtest/ajc150/AllTestsAspectJ150.java b/tests/src/org/aspectj/systemtest/ajc150/AllTestsAspectJ150.java
index 52e285c83..1f0ad25f9 100644
--- a/tests/src/org/aspectj/systemtest/ajc150/AllTestsAspectJ150.java
+++ b/tests/src/org/aspectj/systemtest/ajc150/AllTestsAspectJ150.java
@@ -42,7 +42,7 @@ public class AllTestsAspectJ150 {
suite.addTest(SuppressedWarnings.suite());
suite.addTest(DeclareAnnotationTests.suite());
-
+ suite.addTest(GenericsTests.suite());
suite.addTest(AtAjSyntaxTests.suite());
//$JUnit-END$
return suite;