hotspot/src/share/vm/interpreter/bytecodeInterpreter.cpp
changeset 22878 206db4a4adcc
parent 22872 b6902ee5bc8d
child 23203 76c2a23e2537
--- a/hotspot/src/share/vm/interpreter/bytecodeInterpreter.cpp	Wed Feb 19 14:03:09 2014 -0800
+++ b/hotspot/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