]> source.dussan.org Git - aspectj.git/commitdiff
test and fix for 171953
authoraclement <aclement>
Thu, 15 Feb 2007 10:41:35 +0000 (10:41 +0000)
committeraclement <aclement>
Thu, 15 Feb 2007 10:41:35 +0000 (10:41 +0000)
weaver/src/org/aspectj/weaver/ResolvedType.java

index 598b403f1a91b17baea2615bc45d8198f12a7a16..c60a24f7f0503eda5204f4759ba6c0146b7e440b 100644 (file)
@@ -286,7 +286,9 @@ public abstract class ResolvedType extends UnresolvedType implements AnnotatedEl
             boolean shouldSkip = false;
             for (int j = 0; j < rtx.interTypeMungers.size(); j++) {
                 ConcreteTypeMunger munger = (ConcreteTypeMunger) rtx.interTypeMungers.get(j);
-                if (munger.getMunger()!=null && munger.getMunger().getKind() == ResolvedTypeMunger.Parent) {
+                if (munger.getMunger()!=null && munger.getMunger().getKind() == ResolvedTypeMunger.Parent 
+                               && ((NewParentTypeMunger)munger.getMunger()).getNewParent().equals(iface) // pr171953
+                               ) {
                     shouldSkip = true;
                     break;
                 }