diff options
author | aclement <aclement> | 2005-08-09 10:19:41 +0000 |
---|---|---|
committer | aclement <aclement> | 2005-08-09 10:19:41 +0000 |
commit | 937c645ae75e19c238cd7abf0132404fef1871ca (patch) | |
tree | 9ed1736aa5811df0ce0902e1e44cfec0a1994369 /weaver/testsrc | |
parent | 43f8b24ddb2cb8b092921e614669a429830f795a (diff) | |
download | aspectj-937c645ae75e19c238cd7abf0132404fef1871ca.tar.gz aspectj-937c645ae75e19c238cd7abf0132404fef1871ca.zip |
genericitds: 2 big changes here: I've modifed the super/extends stuff so its only in one place (UnresolvedType) - making it available through the type hierarchy. I've modified the TypeMap in the World to avoid putting entries in the type map which might confuse us later. This fix stops us putting parameterized types that are parameterized by type variables from a generic member into the typemap, since we may look them up later for another member that happened to use the same variable name but had different bounds specified. I'm sure its not perfect yet, but it is definetly improved. things like Enum<E> still go in the typemap since E is not a generic member type variable.
Diffstat (limited to 'weaver/testsrc')
-rw-r--r-- | weaver/testsrc/org/aspectj/weaver/bcel/BcelGenericSignatureToTypeXTestCase.java | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/weaver/testsrc/org/aspectj/weaver/bcel/BcelGenericSignatureToTypeXTestCase.java b/weaver/testsrc/org/aspectj/weaver/bcel/BcelGenericSignatureToTypeXTestCase.java index 35ea06360..a51ffdc2c 100644 --- a/weaver/testsrc/org/aspectj/weaver/bcel/BcelGenericSignatureToTypeXTestCase.java +++ b/weaver/testsrc/org/aspectj/weaver/bcel/BcelGenericSignatureToTypeXTestCase.java @@ -11,16 +11,14 @@ * ******************************************************************/ package org.aspectj.weaver.bcel; +import junit.framework.TestCase; + import org.aspectj.apache.bcel.Repository; import org.aspectj.apache.bcel.classfile.GenericSignatureParser; import org.aspectj.apache.bcel.classfile.JavaClass; import org.aspectj.apache.bcel.classfile.Signature; -import org.aspectj.weaver.ResolvedType; -import org.aspectj.weaver.TypeVariable; import org.aspectj.weaver.UnresolvedType; -import junit.framework.TestCase; - /** * @author colyer * |