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] Created: (HARMONY-1342) [classlib][luni]ObjectStreamClass define in Serialization should set SerialVersionUID to zero if the class is enum
Date Wed, 30 Aug 2006 07:46:22 GMT
[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


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