0

Eclipse IDE allows generation of random serialVersionUID. On the other hand, there is a tool in JDK, serialver, which is designed for the purpose.

Any idea if Eclipse actually invokes serialver behind the curtains?

Mateva
  • 786
  • 1
  • 8
  • 27
  • 1
    Eclipse doesn't require you to have a JDK installed (although it works better if you do) so it doesn't use serialver. – greg-449 Feb 15 '17 at 16:43

2 Answers2

1

I don't think so. Have a look at this class calculateSerialVersionId method.

GauravJ
  • 2,162
  • 1
  • 22
  • 28
1

According to the answer for What algorithm is used by eclipse to generate verison id in Serializable class?

Eclipse implements the relevant Java spec to compute Serialization ID.

Community
  • 1
  • 1
lordoku
  • 908
  • 8
  • 22