You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@harmony.apache.org by "Tony Wu (JIRA)" <ji...@apache.org> on 2007/06/21 16:26:26 UTC

[jira] Updated: (HARMONY-4187) [classlib][swing] Values of serialVersionUID differ for Harmony and RI

     [ https://issues.apache.org/jira/browse/HARMONY-4187?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Tony Wu updated HARMONY-4187:
-----------------------------

    Summary: [classlib][swing] Values of serialVersionUID differ for Harmony and RI  (was: [classlib] Values of serialVersionUID differ for Harmony and RI)

> [classlib][swing] Values of serialVersionUID differ for Harmony and RI
> ----------------------------------------------------------------------
>
>                 Key: HARMONY-4187
>                 URL: https://issues.apache.org/jira/browse/HARMONY-4187
>             Project: Harmony
>          Issue Type: Bug
>          Components: Classlib
>            Reporter: Roman S. Bushmanov
>
> serialVersionUID value for Harmony's javax.swing.JComponent differs from the value defined by RI.
> As a result object serialized by RI can not be desirialized by Harmony and vice versa.
> The following testcase produces '6308178999232194655' for Harmony  and '7917968344860800289' for RI.
> ------------------------- Test.java -------------------------------------------
> import java.io.ObjectStreamClass;
> import javax.swing.JComponent;
> public class Test {
>     public static void main(String[] args) {
>         System.err.println(ObjectStreamClass.lookup(JComponent.class).getSerialVersionUID());
>     }
> }
> -----------------------------------------------------------------------------------
> Affected test:
> functional/org/apache/harmony/test/func/api/java/io/ObjectOutputStream/writeObjectReadObject0009/writeObjectReadObject0009.xml 
> (see HARMONY-3528)

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.