< prev index next >
src/hotspot/share/include/jvm.h
Print this page
rev 56222 : 8218628: Add detailed message to NullPointerException describing what is null.
Summary: This is the implementation of JEP 358: Helpful NullPointerExceptions.
Reviewed-by: coleenp
*** 190,199 ****
--- 190,206 ----
JNIEXPORT void JNICALL
JVM_InitStackTraceElement(JNIEnv* env, jobject element, jobject stackFrameInfo);
/*
+ * java.lang.NullPointerException
+ */
+
+ JNIEXPORT jstring JNICALL
+ JVM_GetExtendedNPEMessage(JNIEnv *env, jthrowable throwable);
+
+ /*
* java.lang.StackWalker
*/
enum {
JVM_STACKWALK_FILL_CLASS_REFS_ONLY = 0x2,
JVM_STACKWALK_GET_CALLER_CLASS = 0x04,
< prev index next >