Details
-
Task
-
Resolution: Done
-
Minor
-
JBossAS-4.0.3 SP1
-
None
-
Low
Description
Many of the security classes are missing serialVersionUID.
Scott has asked me to update them to be the same as 4.0.3SP1
An example using serialver tool
=====================================================================
[starksm@banshee9100 jboss-4.0.x]$ serialver -classpath /usb/Releases/jboss-4.0.3SP1/server/default/lib/jbosssx.jar org.jboss.security.SimpleGroup
org.jboss.security.SimpleGroup: static final long serialVersionUID = 6051859639378507247L;
===========================================================================
I am used to using Eclipse IDE to generate the serialVersionUID. But I see that the UID generated by eclipse
only rarely matches the one provided by serialVer. It is better to use the command line serialVer.