Browse Source

fix for problem found whilst looking into 153380

tags/post_pr_153572
aclement 17 years ago
parent
commit
0fb1a38f58

+ 1
- 0
org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/compiler/AjPipeliningCompilerAdapter.java View File

@@ -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;
}
}

Loading…
Cancel
Save