From 0fb1a38f58557cb30adae66ba19882d03e8ecbbd Mon Sep 17 00:00:00 2001 From: aclement Date: Thu, 10 Aug 2006 10:31:47 +0000 Subject: [PATCH] fix for problem found whilst looking into 153380 --- .../ajdt/internal/compiler/AjPipeliningCompilerAdapter.java | 1 + 1 file changed, 1 insertion(+) diff --git a/org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/compiler/AjPipeliningCompilerAdapter.java b/org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/compiler/AjPipeliningCompilerAdapter.java index d2cf77b3b..b4998261c 100644 --- a/org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/compiler/AjPipeliningCompilerAdapter.java +++ b/org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/compiler/AjPipeliningCompilerAdapter.java @@ -570,6 +570,7 @@ public class AjPipeliningCompilerAdapter extends AbstractCompilerAdapter { for (int index = 0; index < declaration.annotations.length; index++) { TypeDeclaration.resolveAnnotations(declaration.staticInitializerScope, declaration.annotations, declaration.binding); // force annotation resolution Annotation a = declaration.annotations[index]; + if (a.resolvedType == null) continue; // another problem is being reported, so don't crash here if (CharOperation.equals(a.resolvedType.signature(),aspectSig)) return true; } } -- 2.39.5