hotspot/src/share/vm/prims/jniCheck.cpp
changeset 10969 3ecf25293e5a
parent 8725 8c1e3dd5fe1b
child 13195 be27e1b6a4b9
equal deleted inserted replaced
10968:6f5d19d76c93 10969:3ecf25293e5a
   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";