diff options
author | Andy Clement <andrew.clement@gmail.com> | 2012-08-22 13:13:54 -0700 |
---|---|---|
committer | Andy Clement <andrew.clement@gmail.com> | 2012-08-22 13:13:54 -0700 |
commit | cbb6f5a7d50075dbb4482ff1a112463661aafe19 (patch) | |
tree | 99c0a726a3ef68d98547c5d55d47c02155c8684f | |
parent | 7c6e9361dae7f2ee4cf15b68eccdf54e889d1f75 (diff) | |
download | aspectj-cbb6f5a7d50075dbb4482ff1a112463661aafe19.tar.gz aspectj-cbb6f5a7d50075dbb4482ff1a112463661aafe19.zip |
387718
-rw-r--r-- | org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/compiler/problem/AjProblemReporter.java | 8 |
1 files changed, 6 insertions, 2 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 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<ConcreteTypeMunger> itMungers = supertypeToLookAt.getInterTypeMungers(); + for (Iterator<ConcreteTypeMunger> 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 |