diff options
-rw-r--r-- | src/main/javassist/bytecode/CodeAttribute.java | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/main/javassist/bytecode/CodeAttribute.java b/src/main/javassist/bytecode/CodeAttribute.java index 5a423efc..35ab7ddd 100644 --- a/src/main/javassist/bytecode/CodeAttribute.java +++ b/src/main/javassist/bytecode/CodeAttribute.java @@ -356,6 +356,8 @@ public class CodeAttribute extends AttributeInfo implements Opcode { if (index < 0x100) newcode[i + 1] = (byte)index; else { + newcode[i] = NOP; + newcode[i + 1] = NOP; LdcEntry ldc = new LdcEntry(); ldc.where = i; ldc.index = index; |