summaryrefslogtreecommitdiffstats
path: root/weaver
diff options
context:
space:
mode:
authoraclement <aclement>2006-06-19 15:34:25 +0000
committeraclement <aclement>2006-06-19 15:34:25 +0000
commit11645343f9083c8f0b6d7ed73b3124ba857d0051 (patch)
tree72c87fefcfcbcb0d1851d6b2d8ce4ddb31ae2e08 /weaver
parent0b27616f8e38fa432f01d07878d2b08ffc25d183 (diff)
downloadaspectj-11645343f9083c8f0b6d7ed73b3124ba857d0051.tar.gz
aspectj-11645343f9083c8f0b6d7ed73b3124ba857d0051.zip
fixed decp bug and problem with 1.5 IBM VM
Diffstat (limited to 'weaver')
-rw-r--r--weaver/src/org/aspectj/weaver/bcel/BcelObjectType.java4
1 files changed, 3 insertions, 1 deletions
diff --git a/weaver/src/org/aspectj/weaver/bcel/BcelObjectType.java b/weaver/src/org/aspectj/weaver/bcel/BcelObjectType.java
index 1257fe25a..10f3b5671 100644
--- a/weaver/src/org/aspectj/weaver/bcel/BcelObjectType.java
+++ b/weaver/src/org/aspectj/weaver/bcel/BcelObjectType.java
@@ -52,6 +52,7 @@ import org.aspectj.weaver.bcel.AtAjAttributes.BindingScope;
import org.aspectj.weaver.bcel.BcelGenericSignatureToTypeXConverter.GenericSignatureFormatException;
import org.aspectj.weaver.patterns.Declare;
import org.aspectj.weaver.patterns.DeclareErrorOrWarning;
+import org.aspectj.weaver.patterns.DeclarePrecedence;
import org.aspectj.weaver.patterns.FormalBinding;
import org.aspectj.weaver.patterns.IScope;
import org.aspectj.weaver.patterns.PerClause;
@@ -372,7 +373,8 @@ public class BcelObjectType extends AbstractReferenceTypeDelegate {
AjAttribute a = (AjAttribute) iter.next();
if (a instanceof AjAttribute.DeclareAttribute) {
Declare decl = (((AjAttribute.DeclareAttribute)a).getDeclare());
- if (decl instanceof DeclareErrorOrWarning) {
+ if (decl instanceof DeclareErrorOrWarning ||
+ decl instanceof DeclarePrecedence) {
decl.resolve(bindingScope);
}
}