Skip to content

Validate compiler option arguments and reject invalid values #1832

Description

@aosen-xiong

While working on PR #1384, we found that the test passed

-AuseConservativeDefaultsForUncheckedCode=btyecode

instead of

-AuseConservativeDefaultsForUncheckedCode=bytecode

The invalid value was silently accepted, causing the option to be ignored and the test to not exercise the intended behavior.

The Checker Framework should validate arguments supplied to compiler options and report an error when an invalid value is provided.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions