diff options
author | aclement <aclement> | 2004-02-24 10:00:10 +0000 |
---|---|---|
committer | aclement <aclement> | 2004-02-24 10:00:10 +0000 |
commit | b1f25a3c30be719bbf6ba13d25754380dd2ca939 (patch) | |
tree | 416a91ec075184e94469a3d51b3752838679a832 | |
parent | 9f52b4d30a2d31b47ad0c9df4230fc1fc10e12f1 (diff) | |
download | aspectj-b1f25a3c30be719bbf6ba13d25754380dd2ca939.tar.gz aspectj-b1f25a3c30be719bbf6ba13d25754380dd2ca939.zip |
Fix for: Bugzilla Bug 51919
Polymorphic ITD fails in CVS HEAD (From ajdt 1.1.6)
-rw-r--r-- | weaver/src/org/aspectj/weaver/bcel/LazyMethodGen.java | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/weaver/src/org/aspectj/weaver/bcel/LazyMethodGen.java b/weaver/src/org/aspectj/weaver/bcel/LazyMethodGen.java index d3c8dc0b0..f6ce64db5 100644 --- a/weaver/src/org/aspectj/weaver/bcel/LazyMethodGen.java +++ b/weaver/src/org/aspectj/weaver/bcel/LazyMethodGen.java @@ -52,6 +52,7 @@ import org.aspectj.bridge.IMessage; import org.aspectj.weaver.AjAttribute; import org.aspectj.weaver.BCException; import org.aspectj.weaver.ISourceContext; +import org.aspectj.weaver.Member; import org.aspectj.weaver.ResolvedTypeX; @@ -1222,9 +1223,9 @@ public final class LazyMethodGen { } public String getSignature() { - return memberView.getSignature(); -// return Member.typesToSignature(BcelWorld.fromBcel(getReturnType()), -// BcelWorld.fromBcel(getArgumentTypes())); + if (memberView!=null) return memberView.getSignature(); + return Member.typesToSignature(BcelWorld.fromBcel(getReturnType()), + BcelWorld.fromBcel(getArgumentTypes())); } public BcelMethod getMemberView() { |