Skip to content

allSerializableClassesShouldHaveSerialVersionOrSuppressWarnings should correctly check for SuppressWarnings #17729

@jzheaux

Description

@jzheaux

Since @SuppressWarnings uses RetentionPolicy.SOURCE, we cannot use it as a criteria for determining whether something in the codebase is correctly serialized, leading to, for example, #17622.

It would be nice to improve this test. It's possible that ArchUnit may be an option to inspect the source code.

Metadata

Metadata

Assignees

No one assigned

    Labels

    in: configAn issue in spring-security-configtype: bugA general bug

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions