You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@geronimo.apache.org by "Matt Hogstrom (JIRA)" <de...@geronimo.apache.org> on 2005/11/17 13:07:42 UTC

[jira] Updated: (GERONIMO-644) Serialized form of GBeans objects must each declare SUID

     [ http://issues.apache.org/jira/browse/GERONIMO-644?page=all ]

Matt Hogstrom updated GERONIMO-644:
-----------------------------------

    Fix Version: 1.x
                     (was: 1.0)

We need to address this issue but its not likely to be resolved in the next few weeks.  Deferring to 1.x and would like Dain's comments on how xbean may help to reduce this issue.

> Serialized form of GBeans objects must each declare SUID
> --------------------------------------------------------
>
>          Key: GERONIMO-644
>          URL: http://issues.apache.org/jira/browse/GERONIMO-644
>      Project: Geronimo
>         Type: Bug
>     Reporter: Tim Ellison
>     Assignee: Jeremy Boynes
>      Fix For: 1.x

>
> 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

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira