aboutsummaryrefslogtreecommitdiffstats
path: root/weaver
diff options
context:
space:
mode:
authoraclement <aclement>2008-02-21 03:17:24 +0000
committeraclement <aclement>2008-02-21 03:17:24 +0000
commit9addfb7d828f72c0c0c5434e9d853f9f2e2d90e3 (patch)
tree5b6986d792a09f96c8cf29524da5c815854b3b8f /weaver
parent19a25bbf7b6e2bc627e45c2e739a239816b883c2 (diff)
downloadaspectj-9addfb7d828f72c0c0c5434e9d853f9f2e2d90e3.tar.gz
aspectj-9addfb7d828f72c0c0c5434e9d853f9f2e2d90e3.zip
209831: ensure resolved before matching
Diffstat (limited to 'weaver')
-rw-r--r--weaver/src/org/aspectj/weaver/patterns/ExactTypePattern.java1
1 files changed, 1 insertions, 0 deletions
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));