[jboss-dev-forums] [Design of JBossCache] - Re: Serialization Compatibility Tests
manik.surtani@jboss.com
do-not-reply at jboss.com
Fri Dec 29 09:37:32 EST 2006
Ok, we have a problem with these classes:
| org.jboss.cache.OptimisticTreeNode
| org.jboss.cache.optimistic.DefaultDataVersion
| org.jboss.cache.optimistic.FqnComparator
|
They currently (1.4.1.CR1) have svuid fields set to be compatible with 1.4.0, which is not compatible with 1.3.0. If I change these to be compatible with 1.3.0, it will break compat with 1.4.0, which I think is more important.
At the end of the day though, minor version updates are allowed to break wire-level compat, as long as the API is not broken. So 1.3.0 -> 1.4.0 causing a serialization error should be ok, I suppose? Not ideal, and this should be minimised as far as possible, but I can't see a way around this now that this is out in 1.4.0.
At least having a test suite like this will mean this shouldn't happen in future.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3996856#3996856
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3996856
More information about the jboss-dev-forums
mailing list