From e389120e28f7440f0e77f115e1b7757d2196529f Mon Sep 17 00:00:00 2001 From: aclement Date: Thu, 17 Apr 2008 16:46:56 +0000 Subject: [PATCH] 227540: npe guard + diagnostics --- .../ajdt/internal/compiler/problem/AjProblemReporter.java | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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); -- 2.39.5