diff options
author | acolyer <acolyer> | 2005-03-23 20:26:21 +0000 |
---|---|---|
committer | acolyer <acolyer> | 2005-03-23 20:26:21 +0000 |
commit | fb01cad1cc839b23cba31cd4dd5f44f68bad4411 (patch) | |
tree | fa373081decfaedad9cab225c5a1b927f1a40654 /tests/java5/generics | |
parent | 776ab61a02fb038c83a7d5638174443f6e727267 (diff) | |
download | aspectj-fb01cad1cc839b23cba31cd4dd5f44f68bad4411.tar.gz aspectj-fb01cad1cc839b23cba31cd4dd5f44f68bad4411.zip |
fix for Bugzilla Bug 84333
BCException: Bad type name: TypeX.nameToSignature(TypeX.java:635)
Diffstat (limited to 'tests/java5/generics')
-rw-r--r-- | tests/java5/generics/ITDReturningParameterizedType.aj | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/tests/java5/generics/ITDReturningParameterizedType.aj b/tests/java5/generics/ITDReturningParameterizedType.aj new file mode 100644 index 000000000..aa5f3e978 --- /dev/null +++ b/tests/java5/generics/ITDReturningParameterizedType.aj @@ -0,0 +1,21 @@ +import java.util.*; + +public aspect ITDReturningParameterizedType { + + private List<String> C.strings = new ArrayList<String>(); + + public List<String> C.getStrings() { + return strings; + } + + + public static void main(String[] args) { + C c = new C(); + List<String> ss = c.getStrings(); + } +} + + +class C { + +}
\ No newline at end of file |