Преглед на файлове

Fix 485448: Building Roo projects NPE in AnnotationDiscoveryVisitor

tags/V1_8_9
Andy Clement преди 8 години
родител
ревизия
e3d5df726f
променени са 3 файла, в които са добавени 3 реда и са изтрити 0 реда
  1. 3
    0
      org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/compiler/lookup/AjLookupEnvironment.java
  2. Двоични данни
      org.eclipse.jdt.core/jdtcore-for-aspectj-src.zip
  3. Двоични данни
      org.eclipse.jdt.core/jdtcore-for-aspectj.jar

+ 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 Целия файл


Loading…
Отказ
Запис