I think that unspecified protected method readResolve() in Enum is
against the spec. So, ObjectInputStream should be fixed.
Best regards,
Boris Kuznetsov
Intel Middleware Products Division
On 6/14/06, Tim Ellison <[EMAIL PROTECTED]> wrote:
Thanks for the link Richard.
Looks like we will need
Thanks for the link Richard.
Looks like we will need to put support for Enum right into the
ObjectStreams. I'm therefore not convinced that your patch is the right
thing to do. Anyone else care to comment?
Regards,
Tim
Richard Liang wrote:
> Tim Ellison wrote:
>> Richard Liang (JIRA) wrote:
>>
Tim Ellison wrote:
Richard Liang (JIRA) wrote:
Hello Tim,
The patch still cannot pass the provided test case. :-) So Please apply my
patch.
According to Java Spec 1.5,
"Enum constants are serialized differently than ordinary serializable or externalizable objects.
To deserialize
Richard Liang (JIRA) wrote:
> Hello Tim,
>
> The patch still cannot pass the provided test case. :-) So Please apply my
> patch.
>
> According to Java Spec 1.5,
> "Enum constants are serialized differently than ordinary serializable or
> externalizable objects.
>
> To deserialize an en