src/share/vm/prims/whitebox.hpp
Index Unified diffs Context diffs Sdiffs Wdiffs Patch New Old Previous File Next File hs-jdk9-8034860 Cdiff src/share/vm/prims/whitebox.hpp

src/share/vm/prims/whitebox.hpp

Print this page

        

*** 36,55 **** #define WB_END JNI_END #define WB_METHOD_DECLARE(result_type) extern "C" result_type JNICALL #define CHECK_JNI_EXCEPTION_(env, value) \ do { \ ! if (env->ExceptionCheck()) { \ ! env->ExceptionClear(); \ return(value); \ } \ } while (0) #define CHECK_JNI_EXCEPTION(env) \ do { \ ! if (env->ExceptionCheck()) { \ ! env->ExceptionClear(); \ return; \ } \ } while (0) class WhiteBox : public AllStatic { --- 36,57 ---- #define WB_END JNI_END #define WB_METHOD_DECLARE(result_type) extern "C" result_type JNICALL #define CHECK_JNI_EXCEPTION_(env, value) \ do { \ ! JavaThread* THREAD = JavaThread::thread_from_jni_environment(env); \ ! if (HAS_PENDING_EXCEPTION) { \ ! CLEAR_PENDING_EXCEPTION; \ return(value); \ } \ } while (0) #define CHECK_JNI_EXCEPTION(env) \ do { \ ! JavaThread* THREAD = JavaThread::thread_from_jni_environment(env); \ ! if (HAS_PENDING_EXCEPTION) { \ ! CLEAR_PENDING_EXCEPTION; \ return; \ } \ } while (0) class WhiteBox : public AllStatic {
src/share/vm/prims/whitebox.hpp
Index Unified diffs Context diffs Sdiffs Wdiffs Patch New Old Previous File Next File