[OpenJDK 2D-Dev] [9]RFR: JDK-7063986, , Wrong JNi method call in font scaler

Phil Race philip.race at oracle.com
Tue Nov 24 18:25:29 UTC 2015



On 11/24/2015 02:22 AM, prasanta sadhukhan wrote:
> 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