Re: [jira] Commented: (HARMONY-592) java.lang.Enum does not deserialize correctly

2006-06-14 Thread Boris Kuznetsov
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

Re: [jira] Commented: (HARMONY-592) java.lang.Enum does not deserialize correctly

2006-06-14 Thread Tim Ellison
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: >>

Re: [jira] Commented: (HARMONY-592) java.lang.Enum does not deserialize correctly

2006-06-13 Thread Richard Liang
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

Re: [jira] Commented: (HARMONY-592) java.lang.Enum does not deserialize correctly

2006-06-13 Thread Tim Ellison
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