Serializable interface implementation don't explicitly declare serialVersionUID
- Dominant language
- Java
- Stars
- 6.2k
- Forks
- 2.5k
- Avg merge
- 2d 8h
- Merged PRs (30d)
- 111
Description
Serializable interface implementation don't explicitly declare serialVersionUID, which causes the InvalidClassException for the deserialization. Serializable interface implementation should explicitly declare serialVersionUID for all the implementation including their subclass implementation.
## JIRA info
- Link: https://issues.apache.org/jira/browse/HUDI-5558
- Type: Improvement
---
## Comments
20/Jan/23 20:23;alexey.kudinkin;This is not correct: we should not be overriding `serialVersionUID` – mismatching `serialVersionUID`s means that class has changed and it might not be safe to assume that you can safely deserialize serialized representation of the older version of the class.
What's exact issue you're trying to solve here?;;;
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.