mirror of
git://gcc.gnu.org/git/gcc.git
synced 2025-02-05 22:19:34 +08:00
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
@ -1,3 +1,9 @@
|
|||||||
|
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.
|
||||||
|
|
||||||
2007-04-03 Andrew Haley <aph@redhat.com>
|
2007-04-03 Andrew Haley <aph@redhat.com>
|
||||||
|
|
||||||
* testsuite/libjava.lang/ProxyTest.java: New test.
|
* testsuite/libjava.lang/ProxyTest.java: New test.
|
||||||
|
@ -50,9 +50,9 @@ import java.io.IOException;
|
|||||||
public class VariableTable
|
public class VariableTable
|
||||||
{
|
{
|
||||||
|
|
||||||
private final long argCnt;
|
private final int argCnt;
|
||||||
|
|
||||||
private final long slots;
|
private final int slots;
|
||||||
|
|
||||||
private final long[] lineCI;
|
private final long[] lineCI;
|
||||||
|
|
||||||
@ -95,8 +95,8 @@ public class VariableTable
|
|||||||
*/
|
*/
|
||||||
public void write(DataOutputStream os) throws IOException
|
public void write(DataOutputStream os) throws IOException
|
||||||
{
|
{
|
||||||
os.writeLong(argCnt);
|
os.writeInt(argCnt);
|
||||||
os.writeLong(slots);
|
os.writeInt(slots);
|
||||||
for (int i = 0; i < slots; i++)
|
for (int i = 0; i < slots; i++)
|
||||||
{
|
{
|
||||||
os.writeLong(lineCI[i]);
|
os.writeLong(lineCI[i]);
|
||||||
|
Binary file not shown.
@ -33,8 +33,8 @@ public:
|
|||||||
VariableTable(jint, jint, JArray< jlong > *, JArray< ::java::lang::String * > *, JArray< ::java::lang::String * > *, JArray< jint > *, JArray< jint > *);
|
VariableTable(jint, jint, JArray< jlong > *, JArray< ::java::lang::String * > *, JArray< ::java::lang::String * > *, JArray< jint > *, JArray< jint > *);
|
||||||
virtual void write(::java::io::DataOutputStream *);
|
virtual void write(::java::io::DataOutputStream *);
|
||||||
private:
|
private:
|
||||||
jlong __attribute__((aligned(__alignof__( ::java::lang::Object)))) argCnt;
|
jint __attribute__((aligned(__alignof__( ::java::lang::Object)))) argCnt;
|
||||||
jlong slots;
|
jint slots;
|
||||||
JArray< jlong > * lineCI;
|
JArray< jlong > * lineCI;
|
||||||
JArray< jint > * slot;
|
JArray< jint > * slot;
|
||||||
JArray< jint > * lengths;
|
JArray< jint > * lengths;
|
||||||
|
Loading…
Reference in New Issue
Block a user