Non urgent question on https://bugs.openjdk.java.net/browse/JDK-4834738 (Adding which Object is null to an NPE) (original) (raw)

Martijn Verburg martijnverburg at gmail.com
Mon Feb 27 12:03:37 UTC 2017


Hi all,

The topic of adding more useful information to an NPE came up on the Java Champions list and after some digging we discovered some implementations elsewhere (SAP VM for example) and some historical conversations / issues.

https://bugs.openjdk.java.net/browse/JDK-4834738 http://mail.openjdk.java.net/pipermail/hotspot-dev/2014-April/013535.html

The bug is listed as won't fix but didn't have any explanation added to it as to why. Is it just a case that the JIT and/or other mechanisms strips away that sort of information at runtime?

Cheers, Martijn



More information about the hotspot-dev mailing list