gcc/libjava/java
Warren Levy a53785f90e 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
2000-11-03 08:04:33 +00:00
..
applet backport: Applet.java: New file. 2000-07-12 05:52:04 +01:00
awt Makefile.am: Added rules for libgcjx library. 2000-10-22 17:46:09 +00:00
beans PropertyChangeEvent.java (serialVersionUID): Added. 2000-09-08 19:37:09 +00:00
io ObjectInputStream.java (readObject): Added code to conditionally dump out the serialized data. 2000-11-03 08:04:33 +00:00
lang Makefile.am: Added locale files from Classpath. 2000-10-27 10:33:46 +00:00
math Makefile.am: Added locale files from Classpath. 2000-10-27 10:33:46 +00:00
net InetAddress.java (addr): Renamed from 'address'. 2000-11-03 07:43:06 +00:00
security Makefile.am: Removed java/io/Replaceable.java and java/io/Resolvable.java. 2000-10-05 23:57:16 +00:00
sql LocaleData_en.java (monetarySeparator): Added. 2000-10-10 23:09:08 +00:00
text LocaleData_en.java (monetarySeparator): Added. 2000-10-10 23:09:08 +00:00
util AbstractList.java (SubList): Make it a top-level private class. 2000-11-03 03:58:05 +00:00