[OpenJDK 2D-Dev] [9]RFR: JDK-7063986, , Wrong JNi method call in font scaler
prasanta sadhukhan
prasanta.sadhukhan at oracle.com
Tue Nov 24 10:22:35 UTC 2015
Hi All,
Please review a simple fix for jdk9
Bug: https://bugs.openjdk.java.net/browse/JDK-7063986
webrev: http://cr.openjdk.java.net/~psadhukhan/7063986/webrev/
It is found that the JNI invocation sun.font.Type1Font.readFile() from
freeTypefontScaler.c is wrong.
readFile() type is void but JNI uses CallObjectMethod instead of
CallVoidMethod.
Rectified JNI invocation in native to use correct CallVoidMethod.
Did not add any reg. testcase as I am not sure how to test this via a
testcase.
Regards
Prasanta
More information about the 2d-dev
mailing list