You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@geronimo.apache.org by Jarek Gawor <jg...@gmail.com> on 2007/08/09 18:28:39 UTC

kernel test failure in trunk only

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

Re: kernel test failure in trunk only

Posted by "Jay D. McHugh" <ja...@joyfulnoisewebdesign.com>.
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
>
>
>
>   

Re: kernel test failure in trunk only

Posted by "Jay D. McHugh" <ja...@joyfulnoisewebdesign.com>.
fixed in revision 564284

Several classes needed explicitly defined serialversionIDs.

Thanks for catching this.

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