**DONOTDELETE**
(Unregistered)
08/10/06 05:25 AM
Uniqueness

Does the serialVersionUID has to be unique within the class, or within the universe? I.e. will class Foo with serialVersionUID 0L be compatible with class Bar with same serialVersionUID?
Is it a bad practice to use sequential serialVersionUID starting from 0L and being incremented by 1 for each new version, for all your classes.



Contact us JavaWorld

Powered by UBB.threads™ 6.5.5

Featured White Papers


RESEARCH CENTERS: Java Standard Edition | Java Enterprise Edition | Java Micro Edition | Development Tools
About Us | Advertise | Contact Us | Terms of Service/Privacy
Copyright, 2006-2008 Network World, Inc. All rights reserved.