Skip to content

Conversation

@stephan-herrmann
Copy link
Contributor

  • syntactic analysis now stores known NULL along with known NON_NULL
  • use FlowContext.INSIDE_NEGATION to switch between NULL & NON_NULL
  • treat OR_OR_EXPRESSION.right like an else branch

Fixes #4717

+ syntactic analysis now stores known NULL along with known NON_NULL
+ use FlowContext.INSIDE_NEGATION to switch between NULL & NON_NULL
+ treat OR_OR_EXPRESSION.right like an else branch

Fixes eclipse-jdt#4717
@stephan-herrmann stephan-herrmann added this to the 4.39 M1 milestone Jan 1, 2026
@stephan-herrmann stephan-herrmann merged commit 184ea87 into eclipse-jdt:master Jan 1, 2026
13 checks passed
@stephan-herrmann stephan-herrmann deleted the issue4717 branch January 1, 2026 21:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Spurious Warnings With Nullable Fields and Null Analysis checking.

1 participant