Mercurial > hg > graal-jvmci-8
comparison src/share/vm/prims/jniCheck.cpp @ 4045:a6eef545f1a2
7103224: collision between __LEAF define in interfaceSupport.hpp and /usr/include/sys/cdefs.h with gcc
Reviewed-by: never
Contributed-by: Omair Majid <omajid@redhat.com>
author | never |
---|---|
date | Tue, 25 Oct 2011 08:17:15 -0700 |
parents | c7f3d0b4570f |
children | d2a62e0f25eb |
comparison
equal
deleted
inserted
replaced
4044:2ec638646e86 | 4045: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"; |