From 6ca4854013bb96fe4500ffbc5172e6937b193320 Mon Sep 17 00:00:00 2001 From: aclement Date: Thu, 21 Feb 2008 17:37:15 +0000 Subject: [PATCH] do the right version check! --- .../org/aspectj/weaver/patterns/ExactAnnotationTypePattern.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/weaver/src/org/aspectj/weaver/patterns/ExactAnnotationTypePattern.java b/weaver/src/org/aspectj/weaver/patterns/ExactAnnotationTypePattern.java index 45664babe..060d2956a 100644 --- a/weaver/src/org/aspectj/weaver/patterns/ExactAnnotationTypePattern.java +++ b/weaver/src/org/aspectj/weaver/patterns/ExactAnnotationTypePattern.java @@ -256,7 +256,7 @@ public class ExactAnnotationTypePattern extends AnnotationTypePattern { ret = new ExactAnnotationTypePattern(UnresolvedType.read(s)); } ret.readLocation(context,s); - if (s.getMajorVersion()>=WeaverVersionInfo.WEAVER_VERSION_MINOR_AJ160) { + if (s.getMajorVersion()>=WeaverVersionInfo.WEAVER_VERSION_MAJOR_AJ160) { if (s.readBoolean()) ret.setForParameterAnnotationMatch(); } return ret; -- 2.39.5