Skip to content

Conversation

@piotrooo
Copy link
Contributor

@piotrooo piotrooo commented Oct 30, 2025

Changes

  • Introduced JSpecify for all modules
  • Added nullaway maven profile
  • Use nullaway profile in ci-pr.yml workflow

Closes #1184

Signed-off-by: Piotr Olaszewski <piotr.olaszewski@thulium.pl>
Signed-off-by: Piotr Olaszewski <piotr.olaszewski@thulium.pl>
Signed-off-by: Piotr Olaszewski <piotr.olaszewski@thulium.pl>
Signed-off-by: Piotr Olaszewski <piotr.olaszewski@thulium.pl>
Signed-off-by: Piotr Olaszewski <piotr.olaszewski@thulium.pl>
@fmbenhassine
Copy link
Contributor

Fantastic! This is a substantial amount of work so thank you very much for doing that 🙏

I will merge this PR even if it is a draft, and I will take care of the remaining modules (test and test-autoconfigure).

fmbenhassine added a commit that referenced this pull request Oct 31, 2025
- Remove separate profile for jSpecify checks
- Update errorprone and nullaway versions
- Add jSpecify checks in test and test-autoconfigure modules
- Exclude o.s.shell.test.jediterm from jSpecify checks (as it's a shaded fork)
- Remove usage of org.springframework.lang.Nullable

Resolves #1184
@fmbenhassine
Copy link
Contributor

fmbenhassine commented Oct 31, 2025

Rebased, squashed and merged as 63eb82e. Revised in 8506e9b with just some minor updates (no need for an extra profile for nullability checks, no need for the DisableAllChecks compiler flag, etc).

With that, I think we have a good start supporting jSpecify annotations for 4.0.0-M2, and we can improve things further in next iterations.

Thanks again for this amazing contribution! Much appreciated.

@piotrooo piotrooo deleted the gh1184 branch October 31, 2025 06:49
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.

Add jSpecify nullability support

2 participants