summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKyle Galloway <kgallowa@redhat.com>2007-03-30 19:25:39 +0000
committerKyle Galloway <kgallowa@redhat.com>2007-03-30 19:25:39 +0000
commit374bc388430fc66d3d1724e46ac0230bca8ee94b (patch)
tree44863da0b83a38f461233fd9f684d7cf24fc6c4a
parentd6941d5309b989fb99c23b7cc9aa582ee76f3b39 (diff)
downloadclasspath-374bc388430fc66d3d1724e46ac0230bca8ee94b.tar.gz
2007-03-30 Kyle Galloway <kgallowa@redhat.com>
* gnu/classpath/jdwp/util/VariableTable.java: Make argCnt and slots ints. (write): Replace writeLong with writeInt for above.
-rw-r--r--ChangeLog5
-rw-r--r--gnu/classpath/jdwp/util/VariableTable.java8
2 files changed, 9 insertions, 4 deletions
diff --git a/ChangeLog b/ChangeLog
index 7bcb27584..2feb33951 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2007-03-30 Kyle Galloway <kgallowa@redhat.com>
+
+ * gnu/classpath/jdwp/util/VariableTable.java: Make argCnt and slots ints.
+ (write): Replace writeLong with writeInt for above.
+
2007-03-30 Tom Tromey <tromey@redhat.com>
PR libgcj/29869:
diff --git a/gnu/classpath/jdwp/util/VariableTable.java b/gnu/classpath/jdwp/util/VariableTable.java
index 22d8c7dd6..f30c21581 100644
--- a/gnu/classpath/jdwp/util/VariableTable.java
+++ b/gnu/classpath/jdwp/util/VariableTable.java
@@ -50,9 +50,9 @@ import java.io.IOException;
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 class VariableTable
*/
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]);