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] Resolved: (HARMONY-1579) [classlib][luni]SUID of Enum is different from RI
Date Fri, 29 Sep 2006 03:44:51 GMT
     [ http://issues.apache.org/jira/browse/HARMONY-1579?page=all ]

Paulex Yang resolved HARMONY-1579.
----------------------------------

    Resolution: Fixed

Jimmy, patch applied at revision r451107 with minor changes, thanks a lot for this enhancement,
please verify that the problem is fully fixed as you expected.


> [classlib][luni]SUID of Enum is different from RI
> -------------------------------------------------
>
>                 Key: HARMONY-1579
>                 URL: http://issues.apache.org/jira/browse/HARMONY-1579
>             Project: Harmony
>          Issue Type: Bug
>          Components: Classlib
>            Reporter: Jimmy, Jing Lv
>         Assigned To: Paulex Yang
>         Attachments: Harmony1579.diff
>
>
> Hi,
>     The SUID of java.lang.Enum of RI is -4300926546619394005L while Harmony is 0L.
>     Strangely, java.lang.Enum.class.isEnum() returns false (both on RI and Harmony).
This cause a bug in java.lang.ObjectStreamClass when trying to set all Enum and its sub classes
SUID to 0L in serialization, but did not set SUID of Enum itself to zero. The bug must be
fixed as well.

-- 
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