]> source.dussan.org Git - aspectj.git/commitdiff
fix for 166514 - cope with missing type
authoraclement <aclement>
Tue, 1 Apr 2008 05:11:42 +0000 (05:11 +0000)
committeraclement <aclement>
Tue, 1 Apr 2008 05:11:42 +0000 (05:11 +0000)
org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/compiler/problem/AjProblemReporter.java

index 70a8c38964dbc8993322cd3613694fb0b5a5ce9e..ceba922cc5ca77be5c88daff94e489d6c71b1c1a 100644 (file)
@@ -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;