This fix changes two values in gnu.classpath.jdwp.util.VariableTable so
that they are correctly ints instead of longs.
ChangeLog
2007-3-30
* gnu/classpath/jdwp/util/VariableTable.java: Make argCnt and slots
ints.
(write): Replace writeLong with writeInt for above.
Questions/comments/concerns?
- Kyle
Index: gnu/classpath/jdwp/util/VariableTable.java
===================================================================
RCS file: /sources/classpath/classpath/gnu/classpath/jdwp/util/VariableTable.java,v
retrieving revision 1.2
diff -u -r1.2 VariableTable.java
--- gnu/classpath/jdwp/util/VariableTable.java 24 Aug 2005 22:57:07 -0000 1.2
+++ gnu/classpath/jdwp/util/VariableTable.java 30 Mar 2007 19:02:31 -0000
@@ -50,9 +50,9 @@
public class VariableTable
{
- private final long argCnt;
+ private final int argCnt;
- private final long slots;
+ private final int slots;
private final long[] lineCI;
@@ -95,8 +95,8 @@
*/
public void write(DataOutputStream os) throws IOException
{
- os.writeLong(argCnt);
- os.writeLong(slots);
+ os.writeInt(argCnt);
+ os.writeInt(slots);
for (int i = 0; i < slots; i++)
{
os.writeLong(lineCI[i]);