From: aclement Date: Wed, 18 Jun 2008 17:18:53 +0000 (+0000) Subject: 237447: test and fix: nested parameterization X-Git-Tag: V1_6_1rc1~31 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=f02658106fc7022ef60ad077accda8ce039a5ca7;p=aspectj.git 237447: test and fix: nested parameterization --- diff --git a/org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/compiler/lookup/EclipseFactory.java b/org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/compiler/lookup/EclipseFactory.java index 5271aff58..272f14c80 100644 --- a/org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/compiler/lookup/EclipseFactory.java +++ b/org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/compiler/lookup/EclipseFactory.java @@ -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