Can SerialVersionUid be any number or does it have to be compiler generated?

Posted by pdeva on Stack Overflow See other posts from Stack Overflow or by pdeva
Published on 2010-04-12T02:27:50Z Indexed on 2010/04/12 2:33 UTC
Read the original article Hit count: 352

Filed under:
|

If I write a serialversionUid for my class as say 1234, and I know that no other class in my program uses that, is that fine or do i always have to use a uid generated by the compiler?

© Stack Overflow or respective owner

Related posts about java

Related posts about serialization