8035392: cppInterpreter: fix message of NPE
Reviewed-by: kvn
This commit is contained in:
parent
683ea742f2
commit
b0422f5f50
@ -415,10 +415,10 @@
|
|||||||
* On some architectures/platforms it should be possible to do this implicitly
|
* On some architectures/platforms it should be possible to do this implicitly
|
||||||
*/
|
*/
|
||||||
#undef CHECK_NULL
|
#undef CHECK_NULL
|
||||||
#define CHECK_NULL(obj_) \
|
#define CHECK_NULL(obj_) \
|
||||||
if ((obj_) == NULL) { \
|
if ((obj_) == NULL) { \
|
||||||
VM_JAVA_ERROR(vmSymbols::java_lang_NullPointerException(), "", note_nullCheck_trap); \
|
VM_JAVA_ERROR(vmSymbols::java_lang_NullPointerException(), NULL, note_nullCheck_trap); \
|
||||||
} \
|
} \
|
||||||
VERIFY_OOP(obj_)
|
VERIFY_OOP(obj_)
|
||||||
|
|
||||||
#define VMdoubleConstZero() 0.0
|
#define VMdoubleConstZero() 0.0
|
||||||
|
Loading…
x
Reference in New Issue
Block a user