diff --git a/src/hotspot/share/interpreter/bytecodeInterpreter.cpp b/src/hotspot/share/interpreter/bytecodeInterpreter.cpp index 2be094d..e86ddf1 100644 --- a/src/hotspot/share/interpreter/bytecodeInterpreter.cpp +++ b/src/hotspot/share/interpreter/bytecodeInterpreter.cpp @@ -2435,7 +2435,7 @@ run: handle_exception); result = THREAD->vm_result(); } - if (result == Universe::the_null_sentinel()) + if (oopDesc::equals(result, Universe::the_null_sentinel())) result = NULL; VERIFY_OOP(result);