JDK-8256679 : Update serialization javadoc once JOSS changes for records are complete
  • Type: Bug
  • Component: core-libs
  • Sub-Component: java.io:serialization
  • Affected Version: 16
  • Priority: P3
  • Status: Resolved
  • Resolution: Fixed
  • Submitted: 2020-11-19
  • Updated: 2024-12-20
  • Resolved: 2020-12-07
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
JDK 16
16 b28Fixed
Related Reports
CSR :  
Description
Work is currently underway to integrate changes for record serialization into the Java Object Serialization Specification. Once this work has completed, the serialization javadocs should be revisited.

In particular, ObjectInputStream has a large "@implSpec" section that has a bunch of text on record serialization. There are some smaller bits in ObjectOutputStream. These should be removed and replaced by a brief note and cross reference to the appropriate section of the JOSS.

Also consider updates to ObjectStreamClass, Serializable, and the java.io package spec if appropriate.
Comments
Changeset: d05401d8 Author: Julia Boes <jboes@openjdk.org> Date: 2020-12-07 09:30:52 +0000 URL: https://git.openjdk.java.net/jdk/commit/d05401d8
07-12-2020

JDK-8255172, "JOSS changes for Record Classes (Final)" has been integrated. Along with what is mentioned in this issue, the suppression of the preview related warnings in OIS, OOS, and OSC, should be removed - since Class::isRecord and Class::getRecordComponents are no longer marked as preview.
01-12-2020