• Post Reply Bookmark Topic Watch Topic
  • New Topic

SERIAL VERSION UID  RSS feed

 
ajay mittal
Greenhorn
Posts: 24
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi All,

For what SERIAL_VERSION_UID meant for.

Ajay Mittal
 
Daniel Croft
Greenhorn
Posts: 21
Eclipse IDE Java Opera
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I'm afraid I don't know all that much about it, having never used it personally. But I've got to get my two cents in here anyway ;).

StackOverflow

^ This is a pretty good explanation. As I understand it, it has to do with sending a serializable object through streams or over the network. I think it has something to do with persistence too but I'm not sure. Chances are, if you're not doing either of those things, you can just ignore it and add an annotation to suppress the warning.
 
Campbell Ritchie
Marshal
Posts: 56529
172
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
It is intended (as you will see from the SO link) to ensure the receiving class is the same version as the sending class.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!