[ http://jira.jboss.com/jira/browse/JBAS-1584?page=comments#action_12316539 ] Clebert Suconic commented on JBAS-1584: ---------------------------------------
I can add checking of serialUUID against older versions also. Say... load the defined serialUUID (not the calculated through java.io.ObjectClass) and verify if it's the same in older versions. > Create a unit test for tracking the serialVersionUID across versions using > ObjectStreamClass > -------------------------------------------------------------------------------------------- > > Key: JBAS-1584 > URL: http://jira.jboss.com/jira/browse/JBAS-1584 > Project: JBoss Application Server > Type: Sub-task > Components: Test Suite > Reporter: Scott M Stark > Assignee: Scott M Stark > Priority: Critical > Fix For: JBossAS-4.0.2 Final > > > We need a unit test that compares the serialVersionUID of classes in the dist > against those from previous versions using > ObjectStreamClass.getSerialVersionUID() and a database of previous > version/class/serialVersionUID. As of 4.0.2 forward this test should fail > there is a change in any serialVersionUID. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa - If you want more information on JIRA, or have a bug to report see: http://www.atlassian.com/software/jira ------------------------------------------------------- This SF.net email is sponsored by Demarc: A global provider of Threat Management Solutions. Download our HomeAdmin security software for free today! http://www.demarc.com/info/Sentarus/hamr30 _______________________________________________ JBoss-Development mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/jboss-development
