From: aclement Date: Thu, 11 Jan 2007 10:32:43 +0000 (+0000) Subject: test and fix for 168044 - processing complex self referential generic declarations X-Git-Tag: Root_extensions~49 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=0396229c372cb2f0354fd40b2b0563b2f7f657f7;p=aspectj.git test and fix for 168044 - processing complex self referential generic declarations --- 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 69f13ce99..0d1bb1baf 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 @@ -260,7 +260,8 @@ public class EclipseFactory { ResolvedType baseType = getWorld().resolve(UnresolvedType.forName(getName(binding)),true); if (!baseType.isMissing()) { // can legitimately be missing if a bound refers to a type we haven't added to the world yet... - if (!baseType.isGenericType() && arguments!=null) baseType = baseType.getGenericType(); + // pr168044 - sometimes (whilst resolving types) we are working with 'half finished' types and so (for example) the underlying generic type for a raw type hasnt been set yet + //if (!baseType.isGenericType() && arguments!=null) baseType = baseType.getGenericType(); baseTypeSignature = baseType.getErasureSignature(); } else { baseTypeSignature = UnresolvedType.forName(getName(binding)).getSignature();