geronimo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Matt Hogstrom <m...@hogstrom.org>
Subject Re: [jira] Commented: (GERONIMO-644) Serialized form of GBeans objects must each declare SUID
Date Wed, 26 Apr 2006 15:00:28 GMT
Tim,

We have a workaround for some of these issues.  I'll let Dain go into further detail.  We
should use 
your testcase to see if this issue still remains or Dain's fix has mitigated it.

Tim Ellison (JIRA) wrote:
>     [ http://issues.apache.org/jira/browse/GERONIMO-644?page=comments#action_12376424
] 
> 
> Tim Ellison commented on GERONIMO-644:
> --------------------------------------
> 
> Thanks Matt, to put it in context, this was one of the problems preventing G coming up
on Harmony class libraries (last May).
> 
> 
> 
>>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
> 
> 
>>  Components: kernel
>>    Reporter: Tim Ellison
>>    Assignee: Dain Sundstrom
>>     Fix For: 1.2
> 
> 
>>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
> 
> 

Mime
View raw message