* 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
Name |
Last commit
|
Last update |
---|---|---|
.. | ||
applet | Loading commit data... | |
awt | Loading commit data... | |
beans | Loading commit data... | |
io | Loading commit data... | |
lang | Loading commit data... | |
math | Loading commit data... | |
net | Loading commit data... | |
security | Loading commit data... | |
sql | Loading commit data... | |
text | Loading commit data... | |
util | Loading commit data... |