equal
deleted
inserted
replaced
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"; |