[prev in list] [next in list] [prev in thread] [next in thread]
List: openjdk-2d-dev
Subject: [OpenJDK 2D-Dev] [9] RFR: JDK-8020448: Test closed/java/awt/font/JNICheck/JNICheck.sh fails on Solar
From: prasanta sadhukhan <prasanta.sadhukhan () oracle ! com>
Date: 2015-10-29 9:18:34
Message-ID: 5631E19A.7040105 () oracle ! com
[Download RAW message or body]
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
[Attachment #3 (text/html)]
<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8">
</head>
<body bgcolor="#FFFFFF" text="#000000">
Hi All,<br>
<br>
Please review a small fix in jdk9 whereby JNICheck issued a warning
that Exception is not checked after calling a JNI method.<br>
This is in continuation to <a class="issue-link"
data-issue-key="JDK-8130507"
href="https://bugs.openjdk.java.net/browse/JDK-8130507"
id="key-val" rel="4834550">JDK-8130507</a> fix.<br>
<br>
Bug: <a class="moz-txt-link-freetext" \
href="https://bugs.openjdk.java.net/browse/JDK-8020448">https://bugs.openjdk.java.net/browse/JDK-8020448</a><br>
webrev: <a class="moz-txt-link-freetext" \
href="http://cr.openjdk.java.net/~psadhukhan/8020448/webrev.00/">http://cr.openjdk.java.net/~psadhukhan/8020448/webrev.00/</a><br>
<br>
It was seen that JNICheck was issuing a warning<br>
WARNING in native method: JNI call made without checking exceptions
when required to from CallBooleanMethod<br>
at sun.awt.FcFontManager.getFontPathNative(Native Method)<br>
resulting in failure of this test.<br>
There is another warning raised which is in core-libs code and a bug
has been raised against it <a class="splitview-issue-link"
data-issue-key="JDK-8131136"
href="https://bugs.openjdk.java.net/browse/JDK-8131136"><span
class="issue-link-key">8131136</span></a><br>
<br>
Fix is to add the proper Exception check.<br>
<br>
Regards<br>
Prasanta<br>
</body>
</html>
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic