-
Notifications
You must be signed in to change notification settings - Fork 355
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
On upgrade to 3.47.0 supplier seems to get inferred as nullable #6789
Comments
Here's a relatively small test case that reproduces the problem (automatically produced by Specimin):
Running the Nullness Checker from CF 3.47.0 on that code produces:
|
Oh, I didn't see that the reporter had added a reproducer. @agentgt beat me to it by a few minutes :) |
@kelloggm That specimin tool looks cool! Starred it for future exploring. Thanks for the link to it! |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The following code the supplier is inferred as
@Nullable
when it should be@NonNull
.https://github.com/jstachio/rainbowgum/blob/c8bfceaef5e07c75c76b1d59f59ef5ba4288b8b6/core/src/main/java/io/jstach/rainbowgum/ServiceRegistry.java#L168
I will try to add an isolated reproducible example so that you don't need my entire project.
Reproducible is here:
https://github.com/agentgt/checker-issues/tree/main/checker-issue-6789
The text was updated successfully, but these errors were encountered: