Uploaded image for project: 'controller'
  1. controller
  2. CONTROLLER-1031

Clustering: Use generated serialVersionUID for Serializable messages

    XMLWordPrintable

Details

    • Bug
    • Status: Resolved
    • Resolution: Done
    • Helium
    • None
    • mdsal
    • None
    • Operating System: All
      Platform: All

    • 2410

    Description

      https://git.opendaylight.org/gerrit/#/c/12649/ changed several Serializable messages classes to set serialVersionUID to 1. However this will break backwards compatibility when attempting to de-serialized messages from a prior Helium version since no serialVersionUID was not previously set.

      Instead of setting it to 1, we need to set it to a generated value which should match the value generated at runtime for a previous serialized version of the class.

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            tpantelis Tom Pantelis
            tpantelis Tom Pantelis
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: