harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jimmy, Jing Lv (JIRA)" <j...@apache.org>
Subject [jira] Updated: (HARMONY-1342) [classlib][luni]ObjectStreamClass define in Serialization should set SerialVersionUID to zero if the class is enum
Date Wed, 30 Aug 2006 07:48:23 GMT
     [ http://issues.apache.org/jira/browse/HARMONY-1342?page=all ]

Jimmy, Jing Lv updated HARMONY-1342:
------------------------------------

    Attachment: Harmony-1342.diff

Hi,
    Would you please try my patch?Thanks!
Best Regards,
Jimmy

> [classlib][luni]ObjectStreamClass define in Serialization should set SerialVersionUID
to zero if the class is enum
> ------------------------------------------------------------------------------------------------------------------
>
>                 Key: HARMONY-1342
>                 URL: http://issues.apache.org/jira/browse/HARMONY-1342
>             Project: Harmony
>          Issue Type: Bug
>          Components: Classlib
>            Reporter: Jimmy, Jing Lv
>         Attachments: Harmony-1342.diff
>
>
> Hi,
>     In object serialization, every class to serialization will define its ObjectStreamClass
and set SerialVersionUID, if the class is enum, the SerialVersionUID should be set to zero.
>     Current code in Harmony set enum SerialVersionUID to zero after the ObjectStreamClass
is defined(in writing object, etc.). It should be set during the defination to avoid possible
bugs. And other redundant operation can be deleted.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message