On 11/06/2024 18:19, David Lloyd wrote:
:

I thought that might be where Alan was headed with this. I would support this solution; it would solve the problem for conformant serialization libraries. If a class has a `readObject`/etc. then we use it - we wouldn't care if it was "natural" or generated. This also gives us the option to allow the user to use `opens` selectively to opt-in to special optimizations, without a major penalty if they do not.

Is there already someone assigned for this task

Not to my knowledge so you have cycles to prototype and have these methods return a MH that work like a "default" readObject/writeObject then it would help the discussion.

-Alan

Reply via email to