Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Helpful NullPointerException #11782

exoego opened this issue Oct 29, 2019 · 1 comment


Copy link

@exoego exoego commented Oct 29, 2019

Java 14 will introduce more helpful message for NPE.
I think similar enhancements in Scala helps developers a lot.


This comment has been minimized.

Copy link

@hrhino hrhino commented Oct 29, 2019

As I understand the JEP, the helpful messages are generated by the JVM for JVM-originated NPEs, so the best case for us would be that it just works. Once it's released we should add tests that the feature can analyze our bytecode.

@hrhino hrhino added this to the Backlog milestone Oct 29, 2019
@hrhino hrhino added the jdk14 label Oct 29, 2019
@SethTisue SethTisue added enhancement and removed enhancement labels Nov 11, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
None yet
3 participants
You can’t perform that action at this time.