Null-safe applications with Spring Boot 4
This is a new blog post in the Road to GA series, this time sharing an update on the status of the null-safety support across the Spring portfolio, as a follow-up of my previous related blog post Null Safety in Spring applications with JSpecify and NullAway and related Spring I/O talk.
Are we fixing “the billion dollar mistake”?
Yes, we are! And by “we”, I mean the organizations involved in the JSpecify projects, the Spring team, and you, Spring developers who are going to upgrade to Spring Boot 4.
That said, I don’t think “the billion dollar mistake” was the invention of the null reference that Tony Hoare apologized for. I think the real mistake was to not express it explicitly in the type system, as this is the implicit nature of the nullability that causes so many NullPointerException…