From: aclement Date: Thu, 21 Feb 2008 03:17:24 +0000 (+0000) Subject: 209831: ensure resolved before matching X-Git-Tag: V1_6_0M2~42 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=9addfb7d828f72c0c0c5434e9d853f9f2e2d90e3;p=aspectj.git 209831: ensure resolved before matching --- diff --git a/weaver/src/org/aspectj/weaver/patterns/ExactTypePattern.java b/weaver/src/org/aspectj/weaver/patterns/ExactTypePattern.java index 39c3877a0..99ff2c352 100644 --- a/weaver/src/org/aspectj/weaver/patterns/ExactTypePattern.java +++ b/weaver/src/org/aspectj/weaver/patterns/ExactTypePattern.java @@ -134,6 +134,7 @@ public class ExactTypePattern extends TypePattern { // true if (matchType instanceof this.type) public FuzzyBoolean matchesInstanceof(ResolvedType matchType) { // in our world, Object is assignable from anything + annotationPattern.resolve(matchType.getWorld()); if (type.equals(ResolvedType.OBJECT)) return FuzzyBoolean.YES.and(annotationPattern.matches(matchType));