From 9addfb7d828f72c0c0c5434e9d853f9f2e2d90e3 Mon Sep 17 00:00:00 2001 From: aclement Date: Thu, 21 Feb 2008 03:17:24 +0000 Subject: [PATCH] 209831: ensure resolved before matching --- weaver/src/org/aspectj/weaver/patterns/ExactTypePattern.java | 1 + 1 file changed, 1 insertion(+) 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)); -- 2.39.5