Skip to content

Add shortcut to fail compilation when calling deprecated code without it being suppressed #36036

@snicoll

Description

@snicoll

As a companion of CodeWarnings, it'd be nice if we could easily configure a TestCompiler to fail if the generated code calls deprecated code, or expose a deprecated type without suppressing the warning.

Enabling it for every AOT-related tests could also make sure it doesn't surface by accident.

Metadata

Metadata

Assignees

No one assigned

    Labels

    in: coreIssues in core modules (aop, beans, core, context, expression)theme: aotAn issue related to Ahead-of-time processingtype: enhancementA general enhancement

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions