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 enum constant, ObjectInputStream reads the constant name 
> from the stream; the deserialized constant is then obtained by calling the 
> java.lang.Enum.valueOf method, passing the constant's enum type along with 
> the received constant name as arguments.
> ...
> 
> all enum types have a fixed serialVersionUID of 0L. ....
> "

Where abouts did you find that text?  I'm looking at the javadoc.

Regards,
Tim

-- 

Tim Ellison ([EMAIL PROTECTED])
IBM Java technology centre, UK.

---------------------------------------------------------------------
Terms of use : http://incubator.apache.org/harmony/mailing.html
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to