Need to use exactly the same names as in the JDK in the non-SOLAR_JAVA case
Use struct JNIEnv_ and struct JavaVM_, with underscores. Otherwise a mangled name in the map files won't match.
This commit is contained in:
@@ -35,8 +35,10 @@
|
||||
#ifdef SOLAR_JAVA
|
||||
#include "jni.h"
|
||||
#else
|
||||
struct JNIEnv;
|
||||
struct JavaVM;
|
||||
struct JNIEnv_;
|
||||
typedef JNIEnv_ JNIEnv;
|
||||
struct JavaVM_;
|
||||
typedef JavaVM_ JavaVM;
|
||||
typedef int jint;
|
||||
typedef void * jobject;
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user