Great International Developer Summit (GIDS)

The Past, Present, and Future of Null-Safety in Java - Mala Gupta

32:31 · 21 Apr 2026 – 24 Apr 2026 · YouTube

About this talk

This talk delves into the challenges of NullPointerExceptions in Java, emphasizing the evolution of null-safety and its significance in modern programming practices. The speaker explores historical approaches such as the use of if (x != null) checks and the Null Object pattern, advancing through contemporary solutions like Optional and the enhancements in the Stream API. Attendees will gain insights into how tools like static analyzers and linters contribute to safer coding practices, alongside an overview of the impending JVM-level changes from Project Valhalla, which aim to enhance nullability guarantees. By the end of the session, participants will understand Java's journey towards effective null handling, the current best practices, and what the future holds for building more robust applications.