From: aclement Date: Tue, 1 Apr 2008 05:11:42 +0000 (+0000) Subject: fix for 166514 - cope with missing type X-Git-Tag: V1_6_0rc1~15 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=7c2380f228ab7279e53afb246ab50ee59872a0c3;p=aspectj.git fix for 166514 - cope with missing type --- diff --git a/org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/compiler/problem/AjProblemReporter.java b/org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/compiler/problem/AjProblemReporter.java index 70a8c3896..ceba922cc 100644 --- a/org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/compiler/problem/AjProblemReporter.java +++ b/org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/compiler/problem/AjProblemReporter.java @@ -235,12 +235,13 @@ public class AjProblemReporter extends ProblemReporter { if (!Modifier.isAbstract(sig.getModifiers())) { ResolvedMember abstractMember = factory.makeResolvedMember(abstractMethod); if (abstractMember.getName().startsWith("ajc$interMethodDispatch")) { + ResolvedType dType = factory.getWorld().resolve(sig.getDeclaringType(),false); if (ResolvedType .matches( AjcMemberMaker.interMethod( sig, m.getAspectType(), - sig.getDeclaringType().resolve(factory.getWorld()).isInterface()), + dType.isInterface()), abstractMember )) { return;