diff options
-rw-r--r-- | weaver/src/org/aspectj/weaver/bcel/Utility.java | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/weaver/src/org/aspectj/weaver/bcel/Utility.java b/weaver/src/org/aspectj/weaver/bcel/Utility.java index 2ddfe8506..cd98c4e98 100644 --- a/weaver/src/org/aspectj/weaver/bcel/Utility.java +++ b/weaver/src/org/aspectj/weaver/bcel/Utility.java @@ -274,6 +274,13 @@ public class Utility { //System.out.println("cast to: " + toType); InstructionList il = new InstructionList(); + + //PR71273 + if ((fromType.equals(Type.BYTE) || fromType.equals(Type.CHAR) || fromType.equals(Type.SHORT)) && + (toType.equals(Type.INT))) { + return il; + } + if (fromType.equals(toType)) return il; if (toType.equals(Type.VOID)) { |