New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[java] MissingSerialVersionUID false-negative with abstract classes #1352

adangel opened this Issue Sep 17, 2018 · 0 comments


None yet
1 participant

adangel commented Sep 17, 2018

Affects PMD Version: any

Rule: errorprone / MissingSerialVersionUID

As mentioned in #1350 and described in abstract classes also should have a serialversionUID field.

Currently we ignore abstract classes which is wrong.

Code Sample demonstrating the issue:

public abstract class Foo implements Serializable { 
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment