aboutsummaryrefslogtreecommitdiff
path: root/gcc/tree.h
diff options
context:
space:
mode:
authorWarren Levy <warrenl@cygnus.com>2000-11-03 08:04:33 +0000
committerWarren Levy <warrenl@gcc.gnu.org>2000-11-03 08:04:33 +0000
commita53785f90e37e767cd96210da2f7c73ad8621d37 (patch)
treec6e8c834e2c535007905e93116b1ce98ae2be3c6 /gcc/tree.h
parent6678181b3c0196dc782aec1bbf16182cd92c0257 (diff)
downloadgcc-a53785f90e37e767cd96210da2f7c73ad8621d37.zip
gcc-a53785f90e37e767cd96210da2f7c73ad8621d37.tar.gz
gcc-a53785f90e37e767cd96210da2f7c73ad8621d37.tar.bz2
ObjectInputStream.java (readObject): Added code to conditionally dump out the serialized data.
* java/io/ObjectInputStream.java (readObject): Added code to conditionally dump out the serialized data. Handle ENDBLOCKDATA case a bit more gracefully since the current behavior doesn't seem to work as expected. (readStreamHeader): Added code for serialized data dumper. (readNextBlock): Ditto. (readFields): Ditto. (dump): New private static field for turning on/off dumper. (setDump): New native method. (dumpElement): New native method. (dumpElementln): New native method. * java/io/natObjectInputStream.cc (setDump): New method. (dumpElement): New method. (dumpElementln): New method. Serialization dumper. Enable by configuring with --enable-libgcj-debug and calling java.io.ObjectInputStream.setDump(true) in your test program. The output will be generated as the object is deserialized (i.e. the readObject() method is executed). From-SVN: r37223
Diffstat (limited to 'gcc/tree.h')
0 files changed, 0 insertions, 0 deletions