src/share/vm/prims/jniCheck.cpp

changeset 3241
a6eef545f1a2
parent 2658
c7f3d0b4570f
child 3900
d2a62e0f25eb
equal deleted inserted replaced
3240:2ec638646e86 3241:a6eef545f1a2
105 } \ 105 } \
106 JNIEnv* xenv = thr->jni_environment(); \ 106 JNIEnv* xenv = thr->jni_environment(); \
107 if (env != xenv) { \ 107 if (env != xenv) { \
108 NativeReportJNIFatalError(thr, warn_wrong_jnienv); \ 108 NativeReportJNIFatalError(thr, warn_wrong_jnienv); \
109 } \ 109 } \
110 __ENTRY(result_type, header, thr) 110 VM_ENTRY_BASE(result_type, header, thr)
111 111
112 112
113 #define UNCHECKED() (unchecked_jni_NativeInterface) 113 #define UNCHECKED() (unchecked_jni_NativeInterface)
114 114
115 static const char * warn_wrong_jnienv = "Using JNIEnv in the wrong thread"; 115 static const char * warn_wrong_jnienv = "Using JNIEnv in the wrong thread";

mercurial