From: aclement Date: Tue, 28 Oct 2008 00:40:51 +0000 (+0000) Subject: 252285: fix and removed system.err ! X-Git-Tag: V1_6_3rc1~135 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=0ac2913585d05269ea908c1294bf8d507ea16bb7;p=aspectj.git 252285: fix and removed system.err ! --- diff --git a/weaver/src/org/aspectj/weaver/bcel/BcelTypeMunger.java b/weaver/src/org/aspectj/weaver/bcel/BcelTypeMunger.java index 853282f4b..7947d526c 100644 --- a/weaver/src/org/aspectj/weaver/bcel/BcelTypeMunger.java +++ b/weaver/src/org/aspectj/weaver/bcel/BcelTypeMunger.java @@ -1743,6 +1743,7 @@ public class BcelTypeMunger extends ConcreteTypeMunger { ResolvedMember bridgingSetter) { InstructionFactory fact; LazyMethodGen bridgeMethod = makeMethodGen(gen, bridgingSetter); + bridgeMethod.setAccessFlags(bridgeMethod.getAccessFlags() | 0x00000040); // BRIDGE = 0x00000040 Type[] paramTypes = BcelWorld.makeBcelTypes(bridgingSetter.getParameterTypes()); Type[] bridgingToParms = BcelWorld.makeBcelTypes(itdfieldSetter.getParameterTypes()); Type returnType = BcelWorld.makeBcelType(bridgingSetter.getReturnType()); @@ -1759,8 +1760,6 @@ public class BcelTypeMunger extends ConcreteTypeMunger { body.append(InstructionFactory.createLoad(paramType, pos)); if (!bridgingSetter.getParameterTypes()[i].getErasureSignature().equals( itdfieldSetter.getParameterTypes()[i].getErasureSignature())) { - // une cast est required - System.err.println("Putting in cast from " + paramType + " to " + bridgingToParms[i]); body.append(fact.createCast(paramType, bridgingToParms[i])); } pos += paramType.getSize();