From 0396229c372cb2f0354fd40b2b0563b2f7f657f7 Mon Sep 17 00:00:00 2001 From: aclement Date: Thu, 11 Jan 2007 10:32:43 +0000 Subject: [PATCH] test and fix for 168044 - processing complex self referential generic declarations --- .../aspectj/ajdt/internal/compiler/lookup/EclipseFactory.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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(); -- 2.39.5