ObjectOutputStream.java: Add DEBUG statements everywhere.
authorAndrew Haley <aph@redhat.com>
Mon, 21 Jun 2004 16:52:14 +0000 (16:52 +0000)
committerAndrew Haley <aph@gcc.gnu.org>
Mon, 21 Jun 2004 16:52:14 +0000 (16:52 +0000)
commitdeb3d52fec87690fed1a14aa4f8666a59f0fcc14
tree3a45653fc7061bc610f982b563c34279fc5ae046
parent413ed876c51b0b85661e938b1914dcd3821066f7
ObjectOutputStream.java: Add DEBUG statements everywhere.

2004-06-21  Andrew Haley  <aph@redhat.com>

* java/io/ObjectOutputStream.java: Add DEBUG statements
everywhere.
(dumpElementln): New method.
(depth): New field.
* java/io/ObjectInputStream.java
(currentClassLoader): Make native.
(callersClassLoader): New field.
(depth): New field.
(readObject): ENDBLOCKDATA is generated if the class has a write
method, not if it has a read method.
(readObject): Save and restore this.currentObject and
this.currentObjectStreamClass around calls to callReadMethod().
* java/io/natObjectInputStream.cc (getCallersClassLoader): New
method.

From-SVN: r83440
libjava/ChangeLog
libjava/java/io/ObjectInputStream.java
libjava/java/io/ObjectOutputStream.java
libjava/java/io/natObjectInputStream.cc