< prev index next >

src/share/vm/runtime/jniHandles.hpp

Print this page

        

*** 216,227 **** // else as (asserted) error. template<bool external_guard> inline oop JNIHandles::guard_value(oop value) { if (!external_guard) { assert(value != badJNIHandle, "Pointing to zapped jni handle area"); ! assert(value != deleted_handle(), "Used a deleted global handle"); ! } else if ((value == badJNIHandle) || (value == deleted_handle())) { value = NULL; } return value; } --- 216,227 ---- // else as (asserted) error. template<bool external_guard> inline oop JNIHandles::guard_value(oop value) { if (!external_guard) { assert(value != badJNIHandle, "Pointing to zapped jni handle area"); ! assert(value != deleted_handle(), "Used a deleted global handle."); ! } else if (value == badJNIHandle || value == deleted_handle()) { value = NULL; } return value; }
< prev index next >