Harmony
  1. Harmony
  2. HARMONY-4187

[buildtest][func][swing] Values of serialVersionUID differ for Harmony and RI

    Details

    • Type: Bug Bug
    • Status: Open
    • Priority: Major Major
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: build - test - ci
    • Labels:
      None

      Description

      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)

        Activity

        Roman S. Bushmanov created issue -
        Tony Wu made changes -
        Field Original Value New Value
        Summary [classlib] Values of serialVersionUID differ for Harmony and RI [classlib][swing] Values of serialVersionUID differ for Harmony and RI
        Alexei Zakharov made changes -
        Summary [classlib][swing] Values of serialVersionUID differ for Harmony and RI [testing][swing] Values of serialVersionUID differ for Harmony and RI
        Mikhail Markov made changes -
        Component/s Classlib [ 12310560 ]
        Component/s build - test - ci [ 12311279 ]
        Summary [testing][swing] Values of serialVersionUID differ for Harmony and RI [buildtest][func][swing] Values of serialVersionUID differ for Harmony and RI

          People

          • Assignee:
            Unassigned
            Reporter:
            Roman S. Bushmanov
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:

              Development