From 8098a25607df730cad497c286c9674609b1d3144 Mon Sep 17 00:00:00 2001 From: aclement Date: Thu, 1 Dec 2005 12:03:33 +0000 Subject: [PATCH] fix for 118599 --- .../ajdt/internal/compiler/lookup/InterTypeMemberFinder.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/compiler/lookup/InterTypeMemberFinder.java b/org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/compiler/lookup/InterTypeMemberFinder.java index e69e40978..23a3a9418 100644 --- a/org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/compiler/lookup/InterTypeMemberFinder.java +++ b/org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/compiler/lookup/InterTypeMemberFinder.java @@ -42,7 +42,7 @@ public class InterTypeMemberFinder implements IMemberFinder { private List interTypeMethods = new ArrayList(); public SourceTypeBinding sourceTypeBinding; - + public FieldBinding getField(SourceTypeBinding sourceTypeBinding,char[] fieldName,InvocationSite site,Scope scope) { FieldBinding retField = sourceTypeBinding.getFieldBase(fieldName, true); // XXX may need to get the correct value for second parameter in the future (see #55341) if (interTypeFields.isEmpty()) return retField; @@ -435,6 +435,7 @@ public class InterTypeMemberFinder implements IMemberFinder { MethodBinding[] baseMethods = sourceTypeBinding.methods; for (int i=0, len=baseMethods.length; i < len; i++) { MethodBinding b = baseMethods[i]; + sourceTypeBinding.resolveTypesFor(b); // this will return fast if its already been done. if (matches(binding, b)) { // this always means we should remove the existing method if (b.sourceMethod() != null) { -- 2.39.5