# HG changeset patch # User goetz # Date 1392889737 -3600 # Node ID 2444afebe07bd47757461f822e6ad5bf3b00b002 # Parent c4178a748df9080f6c530445c71bcc98ff3112c9 8035392: cppInterpreter: fix message of NPE Reviewed-by: kvn Contributed-by: axel.siebenborn@sap.com diff -r c4178a748df9 -r 2444afebe07b src/share/vm/interpreter/bytecodeInterpreter.cpp --- a/src/share/vm/interpreter/bytecodeInterpreter.cpp Wed Jan 29 12:22:13 2014 +0100 +++ b/src/share/vm/interpreter/bytecodeInterpreter.cpp Thu Feb 20 10:48:57 2014 +0100 @@ -415,10 +415,10 @@ * On some architectures/platforms it should be possible to do this implicitly */ #undef CHECK_NULL -#define CHECK_NULL(obj_) \ - if ((obj_) == NULL) { \ - VM_JAVA_ERROR(vmSymbols::java_lang_NullPointerException(), "", note_nullCheck_trap); \ - } \ +#define CHECK_NULL(obj_) \ + if ((obj_) == NULL) { \ + VM_JAVA_ERROR(vmSymbols::java_lang_NullPointerException(), NULL, note_nullCheck_trap); \ + } \ VERIFY_OOP(obj_) #define VMdoubleConstZero() 0.0