From: aclement Date: Tue, 28 Jul 2009 01:52:35 +0000 (+0000) Subject: 279983: generic method overriding X-Git-Tag: PRE_J5~27 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=716ae41d883c69c224b9b35e9ec8359bb1ca7e4e;p=aspectj.git 279983: generic method overriding --- diff --git a/org.aspectj.matcher/src/org/aspectj/weaver/ResolvedMemberImpl.java b/org.aspectj.matcher/src/org/aspectj/weaver/ResolvedMemberImpl.java index 66e8e8fb1..46d6ab1f8 100644 --- a/org.aspectj.matcher/src/org/aspectj/weaver/ResolvedMemberImpl.java +++ b/org.aspectj.matcher/src/org/aspectj/weaver/ResolvedMemberImpl.java @@ -995,12 +995,8 @@ public class ResolvedMemberImpl extends MemberImpl implements IHasPosition, Anno UnresolvedType[] myParameterTypes = getParameterTypes(); for (int i = 0; i < myParameterTypes.length; i++) { UnresolvedType thisParameter = myParameterTypes[i]; - if (thisParameter.isTypeVariableReference()) { - TypeVariableReferenceType typeVariableRT = (TypeVariableReferenceType) thisParameter; - sig.append(typeVariableRT.getFirstBound().getSignature()); - } else { - sig.append(thisParameter.getErasureSignature()); - } + // type vars will be erased to first bound + sig.append(thisParameter.getErasureSignature()); } myParameterSignatureErasure = sig.toString(); return myParameterSignatureErasure;