diff options
author | aclement <aclement> | 2005-10-25 14:59:59 +0000 |
---|---|---|
committer | aclement <aclement> | 2005-10-25 14:59:59 +0000 |
commit | 4bc9d287704b1ed797d92a2b19dea6b0f82b8f5b (patch) | |
tree | 03f7716772b3b2da730414a3309c858a09b25c27 /weaver | |
parent | e1d674faa6a8f4d3f9ca051b88aab36d635eaf1b (diff) | |
download | aspectj-4bc9d287704b1ed797d92a2b19dea6b0f82b8f5b.tar.gz aspectj-4bc9d287704b1ed797d92a2b19dea6b0f82b8f5b.zip |
change to override check.
Diffstat (limited to 'weaver')
-rw-r--r-- | weaver/src/org/aspectj/weaver/bcel/BcelTypeMunger.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/weaver/src/org/aspectj/weaver/bcel/BcelTypeMunger.java b/weaver/src/org/aspectj/weaver/bcel/BcelTypeMunger.java index 3af5d3c98..6d39bf0af 100644 --- a/weaver/src/org/aspectj/weaver/bcel/BcelTypeMunger.java +++ b/weaver/src/org/aspectj/weaver/bcel/BcelTypeMunger.java @@ -949,7 +949,7 @@ public class BcelTypeMunger extends ConcreteTypeMunger { ResolvedMember aMethod = (ResolvedMember) iter.next(); if (aMethod.getName().equals(localMethodName) && aMethod.getParameterSignature().equals(localParameterSig)) { // check the return types, if they are different we need a bridging method. - if (!aMethod.getReturnType().getErasureSignature().equals(localReturnTypeESig)) { + if (!aMethod.getReturnType().getErasureSignature().equals(localReturnTypeESig) && !Modifier.isPrivate(aMethod.getModifiers())) { // Step3 createBridgeMethod(weaver.getWorld(), munger, unMangledInterMethod, gen, paramTypes, aMethod); quitRightNow = true; |