]> source.dussan.org Git - aspectj.git/commitdiff
261380: test and fix
authoraclement <aclement>
Wed, 21 Jan 2009 00:12:54 +0000 (00:12 +0000)
committeraclement <aclement>
Wed, 21 Jan 2009 00:12:54 +0000 (00:12 +0000)
weaver/src/org/aspectj/weaver/model/AsmRelationshipProvider.java

index 77e292e3c135c069f3ea899739f08667fd264786..fdc7030ff7e77f172a0cd315967979b580787016 100644 (file)
@@ -460,7 +460,7 @@ public class AsmRelationshipProvider {
 
                Member shadowSig = shadow.getSignature();
                // pr235204
-               if (shadow.getKind() == Shadow.MethodCall || !shadowSig.equals(enclosingMember)) {
+               if (shadow.getKind() == Shadow.MethodCall || shadow.getKind()==Shadow.ConstructorCall || !shadowSig.equals(enclosingMember)) {
                        IProgramElement bodyNode = findOrCreateCodeNode(model, enclosingNode, shadowSig, shadow);
                        return bodyNode;
                } else {