From: Andy Clement Date: Wed, 22 Aug 2012 20:13:54 +0000 (-0700) Subject: 387718 X-Git-Tag: V1_7_1~6 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=cbb6f5a7d50075dbb4482ff1a112463661aafe19;p=aspectj.git 387718 --- 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 6ce4a5ecc..f43281317 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 @@ -62,6 +62,7 @@ import org.aspectj.weaver.ConcreteTypeMunger; import org.aspectj.weaver.ReferenceType; import org.aspectj.weaver.ResolvedMember; import org.aspectj.weaver.ResolvedType; +import org.aspectj.weaver.ResolvedTypeMunger; import org.aspectj.weaver.Shadow; import org.aspectj.weaver.UnresolvedType; import org.aspectj.weaver.patterns.DeclareAnnotation; @@ -372,9 +373,12 @@ public class AjProblemReporter extends ProblemReporter { // affects other code in the problem reporter that looks through ITDs... ResolvedType supertypeToLookAt = onTypeX.getSuperclass(); while (supertypeToLookAt != null) { - List itMungers = supertypeToLookAt.getInterTypeMungers(); - for (Iterator i = itMungers.iterator(); i.hasNext();) { + List itMungers = supertypeToLookAt.getInterTypeMungers(); + for (Iterator i = itMungers.iterator(); i.hasNext();) { ConcreteTypeMunger m = (ConcreteTypeMunger) i.next(); + if (m.getMunger()!=null && m.getMunger().getKind()== ResolvedTypeMunger.PrivilegedAccess) { + continue; + } ResolvedMember sig = m.getSignature(); if (sig == null) continue; // we aren't interested in other kinds of munger