diff options
-rw-r--r-- | weaver/src/org/aspectj/weaver/patterns/DeclareParents.java | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/weaver/src/org/aspectj/weaver/patterns/DeclareParents.java b/weaver/src/org/aspectj/weaver/patterns/DeclareParents.java index 414e1d8ba..3d97bcad7 100644 --- a/weaver/src/org/aspectj/weaver/patterns/DeclareParents.java +++ b/weaver/src/org/aspectj/weaver/patterns/DeclareParents.java @@ -326,7 +326,9 @@ public class DeclareParents extends Declare { return false; } } - return verifyNoInheritedAlternateParameterization(supertype,newParent,world); + if (!verifyNoInheritedAlternateParameterization(supertype,newParent,world)) { + return false; + } } return true; } |