Skip to content

Update to NullAway 0.14.0 and fix new warnings - #6001

Open
msridhar wants to merge 1 commit into
junit-team:mainfrom
msridhar:nullaway-0.14.0
Open

Update to NullAway 0.14.0 and fix new warnings#6001
msridhar wants to merge 1 commit into
junit-team:mainfrom
msridhar:nullaway-0.14.0

Conversation

@msridhar

Copy link
Copy Markdown
Contributor

NullAway 0.14.0 release notes: https://github.com/uber/NullAway/releases/tag/v0.14.0

Most of the new warnings are due to inconsistent type variable upper bounds on method overrides, which are easily fixed.

In Arguments.java there is a new warning due to an inference limitation in NullAway related to wildcards. This limitation is actually fixed when the JSpecifyExperimental flag is enabled (see release notes), but that flag causes many other new warnings. So for now, we add an explicit type argument and a comment.


I hereby agree to the terms of the JUnit Contributor License Agreement.

Signed-off-by: Manu Sridharan <msridhar@gmail.com>
@testlens-app

testlens-app Bot commented Aug 21, 2026

Copy link
Copy Markdown

✅ All tests passed ✅

🏷️ Commit: 2a95d74
▶️ Tests: 46952 executed
⚪️ Checks: 15/15 completed


Learn more about TestLens at testlens.app/docs.

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.

1 participant