diff options
author | aclement <aclement> | 2008-04-01 05:11:42 +0000 |
---|---|---|
committer | aclement <aclement> | 2008-04-01 05:11:42 +0000 |
commit | 7c2380f228ab7279e53afb246ab50ee59872a0c3 (patch) | |
tree | fe197c2670d78760edb470cfd71cd400fc0f026f | |
parent | 6bdb87d7462fd4fee4ec474937d4ad18b59b0852 (diff) | |
download | aspectj-7c2380f228ab7279e53afb246ab50ee59872a0c3.tar.gz aspectj-7c2380f228ab7279e53afb246ab50ee59872a0c3.zip |
fix for 166514 - cope with missing type
-rw-r--r-- | org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/compiler/problem/AjProblemReporter.java | 3 |
1 files changed, 2 insertions, 1 deletions
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; |