summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/main/javassist/bytecode/StackMapTable.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/javassist/bytecode/StackMapTable.java b/src/main/javassist/bytecode/StackMapTable.java
index 3a8edf0a..f1704dc4 100644
--- a/src/main/javassist/bytecode/StackMapTable.java
+++ b/src/main/javassist/bytecode/StackMapTable.java
@@ -743,7 +743,7 @@ public class StackMapTable extends AttributeInfo {
else if (offsetDelta < 64) {
byte[] newinfo = insertGap(info, pos, 2);
newinfo[pos] = (byte)entry;
- ByteArray.write16bit(newDelta, info, pos + 1);
+ ByteArray.write16bit(newDelta, newinfo, pos + 1);
updatedInfo = newinfo;
}
else