harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Paulex Yang (JIRA)" <j...@apache.org>
Subject [jira] Closed: (HARMONY-1342) [classlib][luni]ObjectStreamClass define in Serialization should set SerialVersionUID to zero if the class is enum
Date Tue, 19 Sep 2006 06:50:30 GMT
     [ http://issues.apache.org/jira/browse/HARMONY-1342?page=all ]

Paulex Yang closed HARMONY-1342.
--------------------------------


Verified by 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
>         Assigned To: Paulex Yang
>         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