From 0ac2913585d05269ea908c1294bf8d507ea16bb7 Mon Sep 17 00:00:00 2001 From: aclement Date: Tue, 28 Oct 2008 00:40:51 +0000 Subject: [PATCH] 252285: fix and removed system.err ! --- weaver/src/org/aspectj/weaver/bcel/BcelTypeMunger.java | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) 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(); -- 2.39.5