Skip to content

Remove @NullUnmarked workaround for NullAway bug on generic types #6404

@jonatan-ivanov

Description

@jonatan-ivanov

It seems <T extends @Nullable Object> does not work well in some situations, see uber/NullAway#1075.

Because of this bug in NullAway, we need to use @NullUnmarked and "invert" the contract unnecessarily, see here and here.

Metadata

Metadata

Assignees

No one assigned

    Labels

    help wantedAn issue that a contributor can help us withnullabilitypolishA general improvement (naming things, fixing minor issues, etc.)type: taskA general task

    Type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions