Skip to content

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

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 exposes a deprecated type without suppressing the warning.

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions