From b0b3baa481e5facd1fe1fdb7136e2f237d935834 Mon Sep 17 00:00:00 2001 From: aclement Date: Mon, 11 Jul 2011 20:14:00 +0000 Subject: [PATCH] 351592 --- weaver/src/org/aspectj/weaver/bcel/BcelShadow.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/weaver/src/org/aspectj/weaver/bcel/BcelShadow.java b/weaver/src/org/aspectj/weaver/bcel/BcelShadow.java index 42daa4ca6..c28d71081 100644 --- a/weaver/src/org/aspectj/weaver/bcel/BcelShadow.java +++ b/weaver/src/org/aspectj/weaver/bcel/BcelShadow.java @@ -2462,7 +2462,7 @@ public class BcelShadow extends Shadow { ret.append(Utility.createInvoke(fact, callbackMethod)); ret.append(Utility.createConversion(fact, callbackMethod.getReturnType(), - BcelWorld.makeBcelType(munger.getSignature().getReturnType()))); + BcelWorld.makeBcelType(munger.getSignature().getReturnType()), world.isInJava5Mode())); return ret; } @@ -2632,7 +2632,7 @@ public class BcelShadow extends Shadow { ret.append(Utility.createConversion(fact, callbackMethod.getReturnType(), Type.OBJECT)); } ret.append(Utility.createConversion(fact, callbackMethod.getReturnType(), - BcelWorld.makeBcelType(munger.getSignature().getReturnType()))); + BcelWorld.makeBcelType(munger.getSignature().getReturnType()), world.isInJava5Mode())); return ret; -- 2.39.5