Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CFG construction crash when both cases of a ConditionalExpression are the null literal #6743

Closed
msridhar opened this issue Aug 6, 2024 · 0 comments · Fixed by #6752
Closed
Assignees
Labels

Comments

@msridhar
Copy link
Contributor

msridhar commented Aug 6, 2024

Also reported as eisop#819. Input from that issue:

class CheckNull {
  void foo(boolean b) {
    Object o = b ? null : null;
  }
}

This also causes a crash in NullAway: uber/NullAway#1012

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants