Session
Null Safety in Java: JSpecify in Action
NullPointerExceptions are among the most common errors in Java applications. JSpecify now offers a standardized approach to clearly document nullability in Java code and verify it through static analysis. Open-source projects like Spring Boot have begun extending their code with JSpecify.
In this presentation, I'll demonstrate how I successfully implement JSpecify in all new client projects.
First, we'll look at what JSpecify is and how it differs from other nullability annotations like JetBrains' @Nullable or JSR-305.
Then we'll move on to practical application. I'll show you how to configure JSpecify in a Spring Boot project and how to integrate it with Maven, NullAway, Error Prone, and IntelliJ.
We'll also discuss how to migrate existing projects to greater null safety step by step and which typical pitfalls to avoid.
This presentation is aimed at Java developers who want to improve their code quality. Basic knowledge of Spring Boot is helpful, but not required.
After this presentation, you will be able to use JSpecify in your own projects and know what to look out for.
Please note that Sessionize is not responsible for the accuracy or validity of the data provided by speakers. If you suspect this profile to be fake or spam, please let us know.
Jump to top