lack of serialVersionUID in org.omg.* classes causes JCK test failures

XMLWordPrintable

    • Type: Bug
    • Resolution: Duplicate
    • Priority: P2
    • None
    • Affects Version/s: 1.4.0
    • Component/s: other-libs
    • None
    • generic
    • generic

      Bug 4415578 documents assorted JCK serialization test failures. A large
      number of these failures appear to be due to serialVersionUID mismatches
      in org.omg.* classes, which cause deserialization to fail:

      api/org_omg/CosNaming/NamingContextPackage/NotEmpty/serial/index.html#Input
      api/org_omg/CosNaming/NamingContextPackage/InvalidName/serial/index.html#Input
      api/org_omg/CosNaming/NamingContextPackage/NotFoundReason/serial/index.html#Inpu
      +t
      api/org_omg/CosNaming/NamingContextPackage/NotFound/serial/index.html#Input
      api/org_omg/CosNaming/NamingContextPackage/AlreadyBound/serial/index.html#Input
      api/org_omg/CosNaming/BindingType/serial/index.html#Input
      api/org_omg/CosNaming/_BindingIteratorStub/serial/index.html#Input
      api/org_omg/CosNaming/_NamingContextStub/serial/index.html#Input
      api/org_omg/CORBA/ORBPackage/InvalidName/serial/index.html#Input
      api/org_omg/CORBA/WrongTransaction/serial/index.html#Input
      api/org_omg/CORBA/TypeCode/serial/index.html#Input
      api/org_omg/CORBA/DefinitionKind/serial/index.html#Input
      api/org_omg/CORBA/CompletionStatus/serial/index.html#Input
      api/org_omg/CORBA/INV_POLICY/serial/index.html#Input
      api/org_omg/CORBA/UserException/serial/index.html#Input
      api/org_omg/CORBA/Any/serial/index.html#Input
      api/org_omg/CORBA/PolicyError/serial/index.html#Input

      I am unsure whether these failures represent an IDL/serialization bug,
      or whether the tests themselves are in error (i.e., testing for too much
      by requiring compatible serialVersionUIDs between JDK releases), so I am
      filing this bug to track the issue (it doesn't make sense to recategorize
      4415578 as it encompasses other unrelated JCK failures as well).

            Assignee:
            Anita Jindal (Inactive)
            Reporter:
            Michael Warres (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: