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

Serialized form of GBeans objects must each declare SUID

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Later
    • None
    • 1.2
    • kernel
    • 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

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

            Dates

              Created:
              Updated:
              Resolved: