Please join us at the new JavaWorld Q&A Forums. Your existing login will work there. The discussions here are now read-only.


JavaWorld Talkback >> 958102

Anonymous
Unregistered




Uniqueness
      08/10/06 05:25 AM

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.

Post Extras Print Post   Remind Me!     Notify Moderator


Entire topic
Subject Posted by Posted on
* Uniqueness Anonymous 08/10/06 05:25 AM
. * * Re: Uniqueness    05/08/07 01:55 PM
. * * Re: Uniqueness Keith R. Bennett   06/21/07 11:53 AM

Extra information
0 registered and 1 anonymous users are browsing this forum.

Moderator:   



Forum Permissions
      You cannot start new topics
      You cannot reply to topics
      HTML is disabled
      UBBCode is enabled

Rating:
Thread views: 5934

Rate this thread

Jump to

Contact us JavaWorld

Powered by UBB.threads™ 6.5.5