ソースを参照

184447: guard for npe

tags/V1_6_0rc1
aclement 16年前
コミット
8ce9dcfa94

+ 2
- 1
org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/compiler/lookup/AjLookupEnvironment.java ファイルの表示

@@ -800,7 +800,8 @@ public class AjLookupEnvironment extends LookupEnvironment implements AnonymousC
// BUG BUG BUG - We dont test these abits are correct, in fact we'll be very lucky if they are.
// What does that mean? It means on an incremental compile you might get away with an
// annotation that isn't allowed on a type being put on a type.
abits = toAdd[0].resolvedType.getAnnotationTagBits();
if (toAdd[0].resolvedType != null) // pr184447
abits = toAdd[0].resolvedType.getAnnotationTagBits();
}
} else {
// much nicer, its a real SourceTypeBinding so we can stay in eclipse land

読み込み中…
キャンセル
保存