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