2019.5.19 if(format == NULL){ (*env) -> ThrowNew(env, (*env) -> FindClass(env, "java/lang/NullPointerException"), "Printf4.printf: format is null"); return; }