> On 4 Nov 2019, at 23:22, Joe Darcy <[email protected]> wrote:
> ...
> It isn't unreasonable for java.lang.Record to make some mention of the
> special treatment by serialization. (As a point of reference, java.lang.Enum
> does *not* reference the special handling of enums of serialization.)
>
> I think a reference to the serialization spec in java.lang.Record would
> suffice.
Agree. A link to subsection 1.13 - "Serialization of Records” [1], should be
sufficient.
-Chris.
[1]
https://cr.openjdk.java.net/~chegar/records/spec/records-serialization.05.html#serialization-of-records