aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--bcel-builder/src/org/aspectj/apache/bcel/generic/InstructionBranch.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/bcel-builder/src/org/aspectj/apache/bcel/generic/InstructionBranch.java b/bcel-builder/src/org/aspectj/apache/bcel/generic/InstructionBranch.java
index 66388f5e5..b63c2fe1d 100644
--- a/bcel-builder/src/org/aspectj/apache/bcel/generic/InstructionBranch.java
+++ b/bcel-builder/src/org/aspectj/apache/bcel/generic/InstructionBranch.java
@@ -65,7 +65,7 @@ import org.aspectj.apache.bcel.classfile.ConstantPool;
* LOOKUPSWITCH and TABLESWITCH.
*
* @see InstructionList
- * @version $Id: InstructionBranch.java,v 1.3 2008/08/26 16:40:01 aclement Exp $
+ * @version $Id: InstructionBranch.java,v 1.4 2008/08/26 16:43:17 aclement Exp $
* @author <A HREF="mailto:markus.dahm@berlin.de">M. Dahm</A>
*/
/**
@@ -176,7 +176,7 @@ public class InstructionBranch extends Instruction implements InstructionTargete
positionOfThisInstruction += offset;
if (Math.abs(i)>=(32767-max_offset)) { // too large for short (we think)
- throw new IllegalStateException("Unable to pack method, jump is too far: "+Math.abs(i));
+ throw new IllegalStateException("Unable to pack method, jump (with opcode="+opcode+") is too far: "+Math.abs(i));
}
return 0;