Inspectopedia
 
2024.3

Non-serializable class with 'serialVersionUID'

Warning
New
Last modified: 03 December 2024

Reports non-Serializable classes that define a serialVersionUID field. A serialVersionUID field in that context normally indicates an error because the field will be ignored and the class will not be serialized.

Example: