From 7c2380f228ab7279e53afb246ab50ee59872a0c3 Mon Sep 17 00:00:00 2001 From: aclement Date: Tue, 1 Apr 2008 05:11:42 +0000 Subject: [PATCH] fix for 166514 - cope with missing type --- .../ajdt/internal/compiler/problem/AjProblemReporter.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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; -- 2.39.5