spring-boot icon indicating copy to clipboard operation
spring-boot copied to clipboard

Drop JSR305 support in favor of JSpecify

Open philwebb opened this issue 8 months ago • 2 comments

We should see what breaks if we remove "com.google.code.findbugs:jsr305"

philwebb avatar May 16 '25 22:05 philwebb

in scope of this issue do you want just drop or replace jsr305?

dmytrodanilenkov avatar May 26 '25 20:05 dmytrodanilenkov

We're not totally sure yet. I've added the "pending design work" label to make it clearer that we're not ready to accept contributions yet for this one.

philwebb avatar May 26 '25 22:05 philwebb

It still breaks for the use of Spring Framework's @Nullable in a deprecated form. :module:spring-boot-health: is also failing although I wasn't able to figure out why, probably another incantation of @Nullable.

snicoll avatar Sep 16 '25 14:09 snicoll

As long as Spring Framework's @Nullable is deprecated we won't be able to remove the usage of JSR 305 completely. I have requalified this issue as, in terms of documentation and code, we do not support it anymore in a non-deprecated form.

snicoll avatar Oct 07 '25 12:10 snicoll