[OpenJDK 2D-Dev] [9] RFR: JDK-8020448: Test closed/java/awt/font/JNICheck/JNICheck.sh fails on Solaris 11
prasanta sadhukhan
prasanta.sadhukhan at oracle.com
Thu Oct 29 09:06:34 UTC 2015
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/20151029/12abb402/attachment.html>
More information about the 2d-dev
mailing list