Repository navigation
Make NullAway happier with Guava. - #8906
Merged
Merged
Conversation
copybara-service
Bot
force-pushed
the
test_1025679177
branch
from
November 24, 2026 16:35
652e496 to
c8d7ee7
Compare
There is more that we could do here, both to accommodate places where NullAway's JSpecify support is still forthcoming and to move away from relying on our more lenient checker's handling of APIs like `ExecutionException.getCause` and `Class.getClassLoader`. (We could configure NullAway with more lenient checking with [`-XepOpt:NullAway:IgnoreLibraryModelsFor=...`](https://github.com/uber/NullAway/wiki/Configuration#library-models) ([via](uber/NullAway#2128)).) For whatever reason, I _did_ choose to move away from relying on our more lenient checker's handling of `Method.invoke` and `Field.get`. RELNOTES=n/a PiperOrigin-RevId: 1029093636
copybara-service
Bot
force-pushed
the
test_1025679177
branch
from
November 24, 2026 16:58
c8d7ee7 to
2705387
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Make NullAway happier with Guava.
There is more that we could do here, both to accommodate places where NullAway's JSpecify support is still forthcoming and to move away from relying on our more lenient checker's handling of APIs like
ExecutionException.getCauseandClass.getClassLoader. (We could configure NullAway with more lenient checking with-XepOpt:NullAway:IgnoreLibraryModelsFor=...(via).) For whatever reason, I did choose to move away from relying on our more lenient checker's handling ofMethod.invokeandField.get.RELNOTES=n/a