Eclipse auto-generation of serialVersionUID with each change

前端 未结 3 1438
[愿得一人]
[愿得一人] 2021-01-04 04:52

Eclipse nicely generates the serialVersionUID for me. But this seems to be passive code generation as the id won\'t be automatically updated as I change the file unless I do

3条回答
  •  清酒与你
    2021-01-04 05:36

    You could update the serial version at build time with the Ant SerialVer task.

提交回复
热议问题