forbidding serialization methods as members of records

Vicente Romero vicente.romero at oracle.com
Thu Oct 31 12:21:18 UTC 2019


Hi,

In the past we discussed about forbidding the declaration of some 
serialization related methods in records. In particular:

writeObject(ObjectOutputStream)
readObjectNoData()
readObject(ObjectInputStream)

I wonder if we still want to enforce that restriction, meaning that it 
should be reflected in the spec, or if it is not necessary anymore,

Thanks,
Vicente


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mail.openjdk.java.net/pipermail/amber-spec-experts/attachments/20191031/95951b5e/attachment.html>


More information about the amber-spec-experts mailing list