Updated Draft specs for JEP 359 (Records)
Chris Hegarty
chris.hegarty at oracle.com
Thu Oct 31 16:14:52 UTC 2019
> On 31 Oct 2019, at 15:29, Brian Goetz <brian.goetz at oracle.com> wrote:
>
> ...
> I think there’s a difference between these two rules — the one about component names clashing with serialization members, and the one about useless explicit serialization members. A badly named component could _implicitly_ give rise to a method that serialization might call — which seems dangerous. Whereas a serialization member that never gets called is less so. So even if we are considering warnings for the latter category, I still think errors for this category is right.
Agreed.
-Chris.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mail.openjdk.java.net/pipermail/amber-spec-experts/attachments/20191031/c7fa9c51/attachment.html>
More information about the amber-spec-experts
mailing list