[jboss-cvs] javassist/src/main/javassist/bytecode ...
Shigeru Chiba
chiba at is.titech.ac.jp
Tue Mar 18 17:36:04 EDT 2008
User: chiba
Date: 08/03/18 17:36:04
Modified: src/main/javassist/bytecode StackMapTable.java
Log:
fixed a bug of CodeIterator.insertGap() with JDK 1.6
Revision Changes Path
1.10 +2 -1 javassist/src/main/javassist/bytecode/StackMapTable.java
(In the diff below, changes in quantity of whitespace are not shown.)
Index: StackMapTable.java
===================================================================
RCS file: /cvsroot/jboss/javassist/src/main/javassist/bytecode/StackMapTable.java,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -b -r1.9 -r1.10
--- StackMapTable.java 4 Jun 2007 03:11:09 -0000 1.9
+++ StackMapTable.java 18 Mar 2008 21:36:03 -0000 1.10
@@ -229,6 +229,7 @@
public void sameFrame(int pos, int offsetDelta) throws BadBytecode {}
private int sameLocals(int pos, int type) throws BadBytecode {
+ int top = pos;
int offset;
if (type < 128)
offset = type - 64;
@@ -244,7 +245,7 @@
pos += 2;
}
- sameLocals(pos, offset, tag, data);
+ sameLocals(top, offset, tag, data);
return pos + 2;
}
More information about the jboss-cvs-commits
mailing list