8152971: JNI Warning with -Xcheck:jniReviewed-by: prr, psadhukhan
8138817: JNI warnings loading fonts on MacOSXReviewed-by: serb, alexsch