/images/avatar.png

NullPointerExceptions will be awesome in JDK 14

NullPointerExceptions probably are the most popular exceptions faced by any Java developer. As a class, NullPointerException has been in Java since version 1.0 and wasn’t updated after that.

With JDK 14 comes JEP 358 aimed at improving this particular exception. And judging by the enormous amount of frustration NPE has caused developers, this update is a long-awaited one.