Uploaded image for project: 'JGroups'
  1. JGroups
  2. JGRP-1064

Serialization untidiness in AuthToken

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Minor
    • 2.6.13, 2.8
    • 2.6.12
    • None

    Description

      The abstract AuthToken class implements Serializable, so the AS serialization compatibility tests are monitoring it for incompatible changes. Per JBAS-7265 looks like one has crept in:

      FAIL: serialVersionUID error for org.jgroups.auth.AuthToken, 500 3079597723572751028, current: -2876389454499198917

      This is minor, since JGroups presumably uses Streamable to marshal/unmarshal these. But some tidy up would be good:

      1) The AuthToken.auth field should be transient since AUTH is not serializable.

      2) A serialVersionUid field should be added to AuthToken and all subclasses.

      Do these classes need to be Serializable? If not, perhaps remove that in 3.0?

      Attachments

        Activity

          People

            rhn-engineering-bban Bela Ban
            bstansbe@redhat.com Brian Stansberry
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: