[OpenJDK 2D-Dev] [9] RFR: JDK-8020448: Test closed/java/awt/font/JNICheck/JNICheck.sh fails on Solaris 11

Alexander Zvegintsev alexander.zvegintsev at oracle.com
Mon Nov 2 13:17:15 UTC 2015


Looks good to me.

Thanks,

Alexander.

On 10/29/2015 12:06 PM, prasanta sadhukhan wrote:
> Hi All,
>
> Please review a small fix in jdk9 whereby JNICheck issued a warning 
> that Exception is not checked after calling a JNI method.
> This is in continuation to JDK-8130507 
> <https://bugs.openjdk.java.net/browse/JDK-8130507> fix.
>
> Bug: https://bugs.openjdk.java.net/browse/JDK-8020448
> webrev: http://cr.openjdk.java.net/~psadhukhan/8020448/webrev.00/
>
> It was seen that JNICheck was issuing a warning
> WARNING in native method: JNI call made without checking exceptions 
> when required to from CallBooleanMethod
>         at sun.awt.FcFontManager.getFontPathNative(Native Method)
> resulting in failure of this test.
> There is another warning raised which is in core-libs code and a bug 
> has been raised against it 8131136 
> <https://bugs.openjdk.java.net/browse/JDK-8131136>
>
> Fix is to add the proper Exception check.
>
> Regards
> Prasanta

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.openjdk.java.net/pipermail/2d-dev/attachments/20151102/5e9c5418/attachment.html>


More information about the 2d-dev mailing list