| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
|
|
|
| |
typo: there -> their
|
|
|
|
|
| |
dumpElementln (String): removed extraneous semi-colon
setDump (boolean): removed reference to this in static method
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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 method.
(dumpElement): New method.
(dumpElementln): New method.
Serialization dumper. Enable by 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).
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* ObjectInputStream.java (processResolution): Fixed typo
in method name.
(processResolution): Handle readResolve method via reflection with
removal of Resolvable interface.
* ObjectOutputStream.java (writeObject): Handle writeReplace
method via reflection with removal of Replaceable interface.
* Replaceable.java: Removed.
* Resolvable.java: Removed.
Serialization mods.
Note: The interfaces java.io.Replaceable and java.io.Resolvable were only
temporary additions to JDK 1.2 beta versions and were not included
in the JDK 1.2 final. The Serialization spec instructs how to deal
with their methods (via reflection).
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
readDataFromBlock while reading via GetField.
(GetField$1.get(String, Object)): Pass Class of default value to
getField.
(getField): Allow for null default values.
* ObjectOutputStream.java: Fixed typo in comment.
(PutField$1.put): Fixed calls of checkType in most of the put
methods to pass the correct parameter.
(PutField$1.put(String, Object)): Allow for null value arg.
(PutField$1.write): Turn off writeDataAsBlocks while writing via
PutField.
* ObjectStreamClass.java (serialPersistentFields): Fixed
typo in spec'ed field name.
(getSerialPersistentFields): Changed spelling of method to match
the correct spelling of the spec'ed field name.
More serialization fixes per Mauve results.
|
|
|
|
| |
Fix copyright years.
|
|
|
|
|
| |
with JLS 4.5.4. The changes may be unnecessary but should not affect
the outcome of compiling with any other compiler.
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
reading in data for a different version of a class.
|
| |
|
| |
|
|
|
|
| |
handles assigned soon enough.
|
|
|