8026344: j.u.c.a *Adder and *Accumulator extend a package private class that is Serializable

Stephen Colebourne scolebourne at joda.org
Wed Oct 23 22:08:37 UTC 2013


On 23 October 2013 17:33, Alan Bateman <Alan.Bateman at oracle.com> wrote:
>> I might have been tempted to conserve on classes and code duplication to
>> share a serialization proxy between the classes and maybe even shorten the
>> name.
>> But it is hard to argue with the simplicity and directness of this design.
>
> I don't have a strong opinion on this, it could be something really like
> short (if Doug is inclined).

JSR-310 has a shared serialization proxy named Ser (one per package).
It can save a lot of space if multiple types are sent.

Stephen



More information about the core-libs-dev mailing list