Quellcode durchsuchen

Fix 502119: InterTypeFieldBinding.java:122 - NullPointerException

tags/V1_8_10
Andy Clement vor 7 Jahren
Ursprung
Commit
e8be95bbfd

+ 3
- 0
org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/compiler/lookup/InterTypeFieldBinding.java Datei anzeigen

// System.out.println("receiver: " + receiverType + ", " + invocationType); // System.out.println("receiver: " + receiverType + ", " + invocationType);
ReferenceBinding declaringType = declaringClass; ReferenceBinding declaringType = declaringClass;


if (invocationType == null) // static import call
return !isPrivate() && scope.getCurrentPackage() == receiverType.getPackage();

// FIXME asc what about parameterized types and private ITD generic fields on interfaces? // FIXME asc what about parameterized types and private ITD generic fields on interfaces?


// Don't work with a raw type, work with the generic type // Don't work with a raw type, work with the generic type

Laden…
Abbrechen
Speichern