]> source.dussan.org Git - aspectj.git/commitdiff
351592
authoraclement <aclement>
Mon, 11 Jul 2011 20:14:00 +0000 (20:14 +0000)
committeraclement <aclement>
Mon, 11 Jul 2011 20:14:00 +0000 (20:14 +0000)
weaver/src/org/aspectj/weaver/bcel/BcelShadow.java

index 42daa4ca67a0745ea9a8914da53b192bf591a521..c28d7108197695c63602f22159449aa69a1e4a87 100644 (file)
@@ -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;