Uploaded image for project: 'Application Server 3  4  5 and 6'
  1. Application Server 3 4 5 and 6
  2. JBAS-3048

Missing serialVersionUID in security classes

    XMLWordPrintable

Details

    • Task
    • Resolution: Done
    • Minor
    • JBossAS-4.0.4.GA
    • JBossAS-4.0.3 SP1
    • Security
    • None
    • Low

    Description

      Many of the security classes are missing serialVersionUID.

      Scott has asked me to update them to be the same as 4.0.3SP1

      An example using serialver tool
      =====================================================================
      [starksm@banshee9100 jboss-4.0.x]$ serialver -classpath /usb/Releases/jboss-4.0.3SP1/server/default/lib/jbosssx.jar org.jboss.security.SimpleGroup
      org.jboss.security.SimpleGroup: static final long serialVersionUID = 6051859639378507247L;
      ===========================================================================

      I am used to using Eclipse IDE to generate the serialVersionUID. But I see that the UID generated by eclipse
      only rarely matches the one provided by serialVer. It is better to use the command line serialVer.

      Attachments

        Activity

          People

            anil.saldhana Anil Saldanha (Inactive)
            anil.saldhana Anil Saldanha (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: