JVM

以下部分摘抄自:
https://blog.csdn.net/silentbalanceyh/article/details/42643747

基本类型:跨操作系统部分 ( Jni.h )

typedef unsigned char jboolean;
typedef unsigned short jchar;
typedef short jshort;
typedef float jfloat;
typedef double jdouble;
typedef jint jsize;

基本类型:Windows特有 ( Jni_mh.h )

typedef long jint;
typedef __int64 jlong;
typedef signed char jbyte;

基本类型:Solaris特有 ( Jni_mh.h )

typedef int jint;
#ifdef _LP64 /* 64-bit Solaris */
typedef long jlong;
#else
typedef long long jlong;
#endif
typedef signed char jbyte;

复杂类型

class _jobject {};
class _jclass : public _jobject {};
class _jthrowable : public _jobject {};
class _jstring : public _jobject {};
class _jarray : public _jobject {};
class _jbooleanArray : public _jarray {};
class _jbyteArray : public _jarray {};
class _jcharArray : public _jarray {};
class _jshortArray : public _jarray {};
class _jintArray : public _jarray {};
class _jlongArray : public _jarray {};
class _jfloatArray : public _jarray {};
class _jdoubleArray : public _jarray {};
class _jobjectArray : public _jarray {};

JVM_第1张图片
image.png

你可能感兴趣的:(JVM)