This commit is contained in:
Jesper Wilhelmsson 2017-12-13 23:06:59 +01:00
commit f1985b2e7e
78 changed files with 1239 additions and 568 deletions

View file

@ -186,6 +186,9 @@ Java_java_lang_System_initProperties(JNIEnv *env, jclass cla, jobject props)
jobject ret = NULL;
jstring jVMVal = NULL;
if ((*env)->EnsureLocalCapacity(env, 50) < 0) {
return NULL;
}
sprops = GetJavaProperties(env);
CHECK_NULL_RETURN(sprops, NULL);