]> source.dussan.org Git - aspectj.git/commitdiff
237447: test and fix: nested parameterization
authoraclement <aclement>
Wed, 18 Jun 2008 17:18:53 +0000 (17:18 +0000)
committeraclement <aclement>
Wed, 18 Jun 2008 17:18:53 +0000 (17:18 +0000)
org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/compiler/lookup/EclipseFactory.java

index 5271aff58f30ceddd98bf2851ef68ae31a8c9e8e..272f14c80217870daa772aba0d1cf3907f70728d 100644 (file)
@@ -277,8 +277,12 @@ public class EclipseFactory {
                        // act of resolution here may cause recursion problems since the parameters may
                        // be type variables that we haven't fixed up yet.
                        if (arguments==null) arguments=new UnresolvedType[0];
-                       String parameterizedSig = ResolvedType.PARAMETERIZED_TYPE_IDENTIFIER+CharOperation.charToString(binding.genericTypeSignature()).substring(1);
-                       return TypeFactory.createUnresolvedParameterizedType(parameterizedSig,baseTypeSignature,arguments);
+//                     StringBuffer parameterizedSig = new StringBuffer();
+//                     parameterizedSig.append(ResolvedType.PARAMETERIZED_TYPE_IDENTIFIER);
+//                     
+////                   String parameterizedSig = new StringBuffer().append(ResolvedType.PARAMETERIZED_TYPE_IDENTIFIER).append(CharOperation.charToString(binding.genericTypeSignature()).substring(1)).toString();
+//                     return TypeFactory.createUnresolvedParameterizedType(parameterizedSig,baseTypeSignature,arguments);
+                       return TypeFactory.createUnresolvedParameterizedType(baseTypeSignature,arguments);
                }
                
                // Convert the source type binding for a generic type into a generic UnresolvedType