2019.5.24 if(cstr == NULL){ (*env) -> ThrowNew(env, (*env) -> FindClass(env, "java/lang/OutofMemoryError"), "Printf4.fprint: malloc failed"); return; }