(SIGAR-201) JNIEnv->ExceptionCheck to avoid possible SEGV on OutOfMemoryError
This commit is contained in:
1 parent
6c1f0a9871
commit
c46af75d74
7 files changed
+103
-15
No files matched your search
@@ -33,6 +33,9 @@
|
||||
#define SIGAR_CLASS_SIG(name) \
|
||||
"L" SIGAR_PACKAGE name ";"
|
||||
|
||||
/* CHeck EXception */
|
||||
#define SIGAR_CHEX if (JENV->ExceptionCheck(env)) return NULL
|
||||
|
||||
typedef struct {
|
||||
JNIEnv *env;
|
||||
jobject obj;
|
||||
|
||||
Reference in new issue
Block a user