comparison src/share/vm/interpreter/bytecodeInterpreter.cpp @ 17801:2444afebe07b

8035392: cppInterpreter: fix message of NPE Reviewed-by: kvn Contributed-by: axel.siebenborn@sap.com
author goetz
date Thu, 20 Feb 2014 10:48:57 +0100
parents a9becfeecd1b
children d3f14809b051 4ca6dc0799b6 ce8f6bb717c9
comparison
equal deleted inserted replaced
17800:c4178a748df9 17801:2444afebe07b
413 * CHECK_NULL - Macro for throwing a NullPointerException if the object 413 * CHECK_NULL - Macro for throwing a NullPointerException if the object
414 * passed is a null ref. 414 * passed is a null ref.
415 * On some architectures/platforms it should be possible to do this implicitly 415 * On some architectures/platforms it should be possible to do this implicitly
416 */ 416 */
417 #undef CHECK_NULL 417 #undef CHECK_NULL
418 #define CHECK_NULL(obj_) \ 418 #define CHECK_NULL(obj_) \
419 if ((obj_) == NULL) { \ 419 if ((obj_) == NULL) { \
420 VM_JAVA_ERROR(vmSymbols::java_lang_NullPointerException(), "", note_nullCheck_trap); \ 420 VM_JAVA_ERROR(vmSymbols::java_lang_NullPointerException(), NULL, note_nullCheck_trap); \
421 } \ 421 } \
422 VERIFY_OOP(obj_) 422 VERIFY_OOP(obj_)
423 423
424 #define VMdoubleConstZero() 0.0 424 #define VMdoubleConstZero() 0.0
425 #define VMdoubleConstOne() 1.0 425 #define VMdoubleConstOne() 1.0
426 #define VMlongConstZero() (max_jlong-max_jlong) 426 #define VMlongConstZero() (max_jlong-max_jlong)