aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authoraclement <aclement>2008-04-17 16:46:56 +0000
committeraclement <aclement>2008-04-17 16:46:56 +0000
commite389120e28f7440f0e77f115e1b7757d2196529f (patch)
treef9b0b126c94ef5a81bbaf26f29740d631fe68d6c
parent1756ee86cb8d265e3e0beb820c91b7bdbff9ac47 (diff)
downloadaspectj-e389120e28f7440f0e77f115e1b7757d2196529f.tar.gz
aspectj-e389120e28f7440f0e77f115e1b7757d2196529f.zip
227540: npe guard + diagnostics
-rw-r--r--org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/compiler/problem/AjProblemReporter.java5
1 files changed, 4 insertions, 1 deletions
diff --git a/org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/compiler/problem/AjProblemReporter.java b/org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/compiler/problem/AjProblemReporter.java
index ceba922cc..ec2b6ec47 100644
--- a/org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/compiler/problem/AjProblemReporter.java
+++ b/org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/compiler/problem/AjProblemReporter.java
@@ -232,7 +232,10 @@ public class AjProblemReporter extends ProblemReporter {
for (Iterator i = onTypeX.getInterTypeMungersIncludingSupers().iterator(); i.hasNext(); ) {
ConcreteTypeMunger m = (ConcreteTypeMunger)i.next();
ResolvedMember sig = m.getSignature();
- if (!Modifier.isAbstract(sig.getModifiers())) {
+ if (sig == null) {
+ System.err.println("227540: Null signature for munger: " + m);
+ }
+ if (sig != null && !Modifier.isAbstract(sig.getModifiers())) {
ResolvedMember abstractMember = factory.makeResolvedMember(abstractMethod);
if (abstractMember.getName().startsWith("ajc$interMethodDispatch")) {
ResolvedType dType = factory.getWorld().resolve(sig.getDeclaringType(),false);