Hello,
Declaring a serialPersistentFields field should likely get the same
warning/error treatment as the methods below. (The
serialPersistentFields mechanism in serialization allows the set of
serialized fields to be overridden.)
Cheers,
-Joe
On 10/31/2019 5:21 AM, Vicente Romero wrote:
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