]> source.dussan.org Git - javassist.git/commitdiff
fixed a bug of StackMapTable.Shifter
authorchiba <chiba@30ef5769-5b8d-40dd-aea6-55b5d6557bb3>
Tue, 15 Apr 2008 07:39:24 +0000 (07:39 +0000)
committerchiba <chiba@30ef5769-5b8d-40dd-aea6-55b5d6557bb3>
Tue, 15 Apr 2008 07:39:24 +0000 (07:39 +0000)
git-svn-id: http://anonsvn.jboss.org/repos/javassist/trunk@433 30ef5769-5b8d-40dd-aea6-55b5d6557bb3

src/main/javassist/bytecode/StackMapTable.java

index 3a8edf0a63462e7631bb23f51c259b22c764f138..f1704dc42c722c9ac97f7eda5fe4ba86eaae37d6 100644 (file)
@@ -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