mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-27 06:45:07 +02:00
8256679: Update serialization javadoc once JOSS changes for records are complete
Reviewed-by: chegar, rriggs
This commit is contained in:
parent
7620124ee9
commit
d05401d886
5 changed files with 24 additions and 50 deletions
|
@ -139,6 +139,12 @@ package java.io;
|
|||
* serialization and deserialization. Any declarations of the special
|
||||
* handling methods discussed above are ignored for enum types.<p>
|
||||
*
|
||||
* Record classes can implement {@code Serializable} and receive treatment defined
|
||||
* by the <a href="{@docRoot}/../specs/serialization/serial-arch.html#serialization-of-records">
|
||||
* <cite>Java Object Serialization Specification,</cite> Section 1.13,
|
||||
* "Serialization of Records"</a>. Any declarations of the special
|
||||
* handling methods discussed above are ignored for record types.<p>
|
||||
*
|
||||
* The serialization runtime associates with each serializable class a version
|
||||
* number, called a serialVersionUID, which is used during deserialization to
|
||||
* verify that the sender and receiver of a serialized object have loaded
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue