RFR: CSR Core-libs support for records

Florian Weimer fw at deneb.enyo.de
Mon Nov 4 21:27:57 UTC 2019


* Vicente Romero:

> Please review the draft of the CSR for Core-libs support for records at [1]
>
> Thanks,
> Vicente
>
> [1] https://bugs.openjdk.java.net/browse/JDK-8233436

I would have expected something regarding serialization in the
description of java.lang.Record.

Right now, it appears to be possible to have a record implement
java.io.Serializable, and serialization will appear to work, but
because the names of the implicitly generated private fields are not
specified, it is not portable across compilers and even compiler
versions.


More information about the amber-dev mailing list