VariableTable.java: Change longs to ints for argCnt and slots.
2007-04-04 Kyle Galloway <kgallowa@redhat.com> * classpath/gnu/classpath/jdwp/util/VariableTable.java: Change longs to ints for argCnt and slots. (write): Replace writeLong with writeInt for the above. From-SVN: r123511
This commit is contained in:
parent
51a6c5b351
commit
dabf62003e
4 changed files with 12 additions and 6 deletions
|
@ -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]);
|
||||
|
|
Binary file not shown.
Loading…
Add table
Add a link
Reference in a new issue