summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorchiba <chiba@30ef5769-5b8d-40dd-aea6-55b5d6557bb3>2008-04-15 07:39:24 +0000
committerchiba <chiba@30ef5769-5b8d-40dd-aea6-55b5d6557bb3>2008-04-15 07:39:24 +0000
commitb9a13a5ca30450dc97f9a107b30fd2e607bffc7e (patch)
treebae3e96660dd81e08c8021adc687a17467e84ee3
parentdc1297543e85a9ea0e68ff8970dcfbdfbd24e6b9 (diff)
downloadjavassist-b9a13a5ca30450dc97f9a107b30fd2e607bffc7e.tar.gz
javassist-b9a13a5ca30450dc97f9a107b30fd2e607bffc7e.zip
fixed a bug of StackMapTable.Shifter
git-svn-id: http://anonsvn.jboss.org/repos/javassist/trunk@433 30ef5769-5b8d-40dd-aea6-55b5d6557bb3
-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