]> source.dussan.org Git - aspectj.git/commitdiff
generics: modified to use built in types since otherwise world setup is painful.
authoraclement <aclement>
Mon, 11 Jul 2005 10:52:46 +0000 (10:52 +0000)
committeraclement <aclement>
Mon, 11 Jul 2005 10:52:46 +0000 (10:52 +0000)
weaver/testsrc/org/aspectj/weaver/bcel/BcelGenericSignatureToTypeXTestCase.java

index 241d939cb10d445e5fbbc436c160cfe3403d8757..8f3cfb9be7dc15f0452126a98aa7b0bb856639a3 100644 (file)
@@ -55,9 +55,9 @@ public class BcelGenericSignatureToTypeXTestCase extends TestCase {
                assertEquals("Ljava/io/Serializable;",serializable.getSignature());
        }
        
-       public void testInners() {
+       public void testColonColon() {
                BcelWorld world = new BcelWorld();
-               Signature.ClassSignature cSig = new GenericSignatureParser().parseAsClassSignature("<T::LBase$Inner;>Ljava/lang/Object;LBase<TT;>;");
+               Signature.ClassSignature cSig = new GenericSignatureParser().parseAsClassSignature("<T::Ljava/io/Serializable;>Ljava/lang/Object;Ljava/lang/Comparable<TT;>;");
                TypeX resolved = BcelGenericSignatureToTypeXConverter.classTypeSignature2TypeX(
                                cSig.superclassSignature,
                                cSig.formalTypeParameters,