Uploaded image for project: 'Geronimo'
  1. Geronimo
  2. GERONIMO-644

Serialized form of GBeans objects must each declare SUID

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Later
    • Affects Version/s: None
    • Fix Version/s: 1.2
    • Component/s: kernel
    • Labels:
      None

      Description

      Since Geronimo exchanges config information via serialized form of Java objects, its imperative that the serializable classes declare a serialVersionUID. If they don't then the serialized form is not necessarily compatible across Java implementations (or even Java compilers) [1].

      The case in point is the wire format classes in ActiveMQ (e.g. "org.codehaus.activemq.message.DefaultWireFormat") which are marked serializable and do not declare a static ID. I've tried raising this with ActiveMQ [2] but without success.

      I can provide the required SUID in each case, but it looks like I might need help to get it into the ActiveMQ code.

      [1] http://java.sun.com/j2se/1.3/docs/guide/serialization/spec/class.doc6.html#4100
      [2] http://article.gmane.org/gmane.comp.java.activemq.devel/486

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              tellison Tim Ellison
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: