Oops... I added a new method to GBeanInfo (toXML) yesterday (I thought that I had run the tests, but appearantly I did not).

But, since all I did was add the new function the class should still be backward compatible.

How would I recreate the serialization file to allow the test to pass?

Or, is there something different that I should do to allow the test to pass?

Jay

Jarek Gawor wrote:
The following test in geronimo-kernel module is now failing (in trunk only):

Tests run: 11, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 0.094
sec <<< FAILURE!
testBackwardCompatibility(org.apache.geronimo.gbean.GBeanInfoTest)  Time elapsed
: 0.032 sec  <<< ERROR!
java.io.InvalidClassException:
org.apache.geronimo.gbean.GAttributeInfo; local class incompatible:
stream classdesc serialVersionUID = 2805493042418685048, local class
serialVersionUID = -8313586943202693512

Jarek



Reply via email to