JDK-8234782 : Discuss evolution of records in serialization spec
  • Type: Bug
  • Component: core-libs
  • Sub-Component: java.io:serialization
  • Affected Version: 14
  • Priority: P2
  • Status: Closed
  • Resolution: Fixed
  • Submitted: 2019-11-26
  • Updated: 2020-02-01
  • Resolved: 2020-01-23
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 14 JDK 15
14 b34Fixed 15Fixed
Related Reports
CSR :  
Relates :  
Description
As discussed in the CSR feedback of JDK-8233436, evolution of records should be discussed in the updates to the serialization spec.
Comments
The implementation already supports the types of evolution that this issue is proposing to add, therefore this change does not contain a source code element ( just a specification update ) - adding `noreg-doc`.
17-01-2020

The most significant aspects of serialization evolution concerning records are 1) adding and removing record components, and 2) the compatible scenarios where an ordinary class may be changed to a record class
17-01-2020