aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authoraclement <aclement>2007-01-11 10:32:43 +0000
committeraclement <aclement>2007-01-11 10:32:43 +0000
commit0396229c372cb2f0354fd40b2b0563b2f7f657f7 (patch)
treef7283d58ef8fed9a6a1dc88600a80aaa6ee0a267
parent8944ce6832ffd5d47f7c6c7bac7e67c003aaedcc (diff)
downloadaspectj-0396229c372cb2f0354fd40b2b0563b2f7f657f7.tar.gz
aspectj-0396229c372cb2f0354fd40b2b0563b2f7f657f7.zip
test and fix for 168044 - processing complex self referential generic declarations
-rw-r--r--org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/compiler/lookup/EclipseFactory.java3
1 files changed, 2 insertions, 1 deletions
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();