# HG changeset patch # User psadhukhan # Date 1448451869 -10800 # Node ID 36c3d93671f819fd1658f6f87c7418ead7dc10cd # Parent 4c5b27d6a6ac7a96a180426527dfbce80e23ebe8 7063986: Wrong JNi method call in font scaler Reviewed-by: prr, rchamyal diff -r 4c5b27d6a6ac -r 36c3d93671f8 jdk/src/java.desktop/share/native/libfontmanager/freetypeScaler.c --- a/jdk/src/java.desktop/share/native/libfontmanager/freetypeScaler.c Tue Nov 24 13:36:12 2015 -0800 +++ b/jdk/src/java.desktop/share/native/libfontmanager/freetypeScaler.c Wed Nov 25 14:44:29 2015 +0300 @@ -258,7 +258,7 @@ scalerInfo->fontData, scalerInfo->fontDataLength); if (bBuffer != NULL) { - (*env)->CallObjectMethod(env, font2D, + (*env)->CallVoidMethod(env, font2D, sunFontIDs.readFileMID, bBuffer); error = FT_New_Memory_Face(scalerInfo->library,