You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@harmony.apache.org by "Jimmy, Jing Lv (JIRA)" <ji...@apache.org> on 2006/09/26 12:26:51 UTC
[jira] Updated: (HARMONY-1579) [classlib][luni]SUID of Enum is
different from RI
[ http://issues.apache.org/jira/browse/HARMONY-1579?page=all ]
Jimmy, Jing Lv updated HARMONY-1579:
------------------------------------
Attachment: Harmony1579.diff
Hi,
Would you please try my patch? Thanks!
Best Regards,
Jimmy
> [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
> 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