From: Andy Clement Date: Mon, 1 Apr 2013 22:29:13 +0000 (-0700) Subject: Fix for 404594 X-Git-Tag: AS_BETA_JAVA8_CREATED~19 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=4e34477ab6aa6701b93f0f331f2c6874e70b424f;p=aspectj.git Fix for 404594 --- diff --git a/org.aspectj.matcher/src/org/aspectj/weaver/ResolvedType.java b/org.aspectj.matcher/src/org/aspectj/weaver/ResolvedType.java index 0eaee3758..31f770da6 100644 --- a/org.aspectj.matcher/src/org/aspectj/weaver/ResolvedType.java +++ b/org.aspectj.matcher/src/org/aspectj/weaver/ResolvedType.java @@ -610,7 +610,9 @@ public abstract class ResolvedType extends UnresolvedType implements AnnotatedEl if ((aMember.getKind() == Member.METHOD) || (aMember.getKind() == Member.CONSTRUCTOR)) { // toSearch = getMethodsWithoutIterator(true, allowMissing, !eraseGenerics).iterator(); toSearch = getMethodsIncludingIntertypeDeclarations(!eraseGenerics, true); - } else { + } else if (aMember.getKind()==Member.ADVICE) { + return null; + } else { assert aMember.getKind() == Member.FIELD; toSearch = getFields(); }