Skip to content

Conversation

chemicL
Copy link
Member

@chemicL chemicL commented Sep 18, 2025

reactor-core 3.8.0-SNAPSHOT includes the migration from JSR-305-based nullability annotations to JSpecify.
This change adapts the spring-framework codebase to the changes caused by better nullability markers.

@sdeleuze please review and if something needs to change on the reactor-core side, I'd be happy to incorporate those recommendations.

Signed-off-by: Dariusz Jędrzejczyk <dariusz.jedrzejczyk@broadcom.com>
@spring-projects-issues spring-projects-issues added the status: waiting-for-triage An issue we've not yet triaged or decided on label Sep 18, 2025
@sdeleuze sdeleuze self-assigned this Sep 18, 2025
@sdeleuze sdeleuze added type: task A general task and removed status: waiting-for-triage An issue we've not yet triaged or decided on labels Sep 18, 2025
@sdeleuze sdeleuze added this to the 7.0.0-RC1 milestone Sep 18, 2025
@sdeleuze sdeleuze self-requested a review September 23, 2025 07:31
Copy link
Contributor

@sdeleuze sdeleuze left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think some of those Objects#requireNonNull invocation are related to uber/NullAway#1290 so I would recommend to revise the PR by using @SupressWarnings("NullAway") // see https://github.com/uber/NullAway/issues/1290 instead for such lambdas.

Signed-off-by: Dariusz Jędrzejczyk <dariusz.jedrzejczyk@broadcom.com>
@sdeleuze
Copy link
Contributor

sdeleuze commented Oct 7, 2025

We need to analyze each usage where there is a nullability mismatch, but it looks correct from a reactor-core POV, so you can follow-up with reactor-core 3.8.0-RC1 release and we will take this PR from there. Thanks for submitting it.

@sdeleuze sdeleuze marked this pull request as ready for review October 13, 2025 07:01
@sdeleuze sdeleuze closed this in b2c84ac Oct 13, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

type: task A general task

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants