Review request for 8001536
Alan Bateman
Alan.Bateman at oracle.com
Tue Oct 30 19:24:34 UTC 2012
On 30/10/2012 18:05, Remi Forax wrote:
>
> in writeObject, you set "blob" twice, which is weird, also I think
> that if blob is not Serializable,
> the code should throw an exception, so you should not use instanceof
> and let s.writeFields()
> to throw NotSerializable exception.
Yes, that is odd. I think the issue here is that serialized form should
never have included the blob in the first place.
-Alan
More information about the core-libs-dev
mailing list