浏览代码

Fix 485448: Building Roo projects NPE in AnnotationDiscoveryVisitor

tags/V1_8_9
Andy Clement 8 年前
父节点
当前提交
e3d5df726f

+ 3
- 0
org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/compiler/lookup/AjLookupEnvironment.java 查看文件

@@ -1167,6 +1167,9 @@ public class AjLookupEnvironment extends LookupEnvironment implements AnonymousC
System.arraycopy(abefore, 0, newset, toAdd.length, abefore.length);
}
sourceType.scope.referenceContext.annotations = newset;
if ((sourceType.tagBits & TagBits.AnnotationResolved)!=0) {
sourceType.tagBits = sourceType.tagBits - TagBits.AnnotationResolved;
}
CompilationAndWeavingContext.leavingPhase(tok);
if (factory.pushinCollector != null) {
factory.pushinCollector.tagAsMunged(sourceType, new CommonPrinter((methodDecl == null ? null : methodDecl.scope))

二进制
org.eclipse.jdt.core/jdtcore-for-aspectj-src.zip 查看文件


二进制
org.eclipse.jdt.core/jdtcore-for-aspectj.jar 查看文件


正在加载...
取消
保存