8180807: java.io.Serializable class-level readObject description error
Reviewed-by: chegar, rriggs
This commit is contained in:
parent
e830b7d68e
commit
51272f395a
@ -84,9 +84,9 @@ package java.io;
|
|||||||
* correspondingly named fields in the current object. This handles the case
|
* correspondingly named fields in the current object. This handles the case
|
||||||
* when the class has evolved to add new fields. The method does not need to
|
* when the class has evolved to add new fields. The method does not need to
|
||||||
* concern itself with the state belonging to its superclasses or subclasses.
|
* concern itself with the state belonging to its superclasses or subclasses.
|
||||||
* State is saved by writing the individual fields to the
|
* State is restored by reading data from the ObjectInputStream for
|
||||||
* ObjectOutputStream using the writeObject method or by using the
|
* the individual fields and making assignments to the appropriate fields
|
||||||
* methods for primitive data types supported by DataOutput.
|
* of the object. Reading primitive data types is supported by DataInput.
|
||||||
*
|
*
|
||||||
* <p>The readObjectNoData method is responsible for initializing the state of
|
* <p>The readObjectNoData method is responsible for initializing the state of
|
||||||
* the object for its particular class in the event that the serialization
|
* the object for its particular class in the event that the serialization
|
||||||
|
Loading…
x
Reference in New Issue
Block a user