Details
-
Bug
-
Resolution: Won't Do
-
Major
-
JBossAS-4.0.0 Final
-
None
Description
The following exception is seen when a 4.0.1RC1 client talks to the 4.0.0 naming service:
java.io.InvalidClassException: org.jnp.interfaces.MarshalledValuePair; local
class incompatible: stream classdesc serialVersionUID = -6485622724173581497, local class serialVersionUID = -3403843515711139134
The problem is due to the introduction of a serialVersionUID that is compatible with the 3.2.x version. Even though there has been no actual serializable incompatible changes, because the serialVersionUID has not been assigned any change in the class resulted in the implicit serialVersionUID changing. So even though the MarshalledValuePair is compatible with 4.0.1RC1 and 3.2.6, the lack of an explicit serialVersionUID to this effect has resulted in an incompatibility. At this point I don't think there is anyting that can be done about the 4.0.0 incompatiblity unless 3.2.x incompatibility is introduced.