[9] RFR(XS) 8175516: JNI exception pending in jdk_tools_jaotc_jnilibelf_JNILibELFAPI.c:97

Vladimir Kozlov vladimir.kozlov at oracle.com
Mon Feb 27 20:51:29 UTC 2017


On 2/26/17 10:29 PM, Igor Veresov wrote:
> retObj probably needs to be nulled out?

Right, I forgot that it is not Java.

>
> Also there is a whole bunch of return values we don’t check in getNativeAddress() and makePointerObject().

Fixed:

http://cr.openjdk.java.net/~kvn/8175516/webrev/

Thanks,
Vladimir

>
> igor
>
>> On Feb 24, 2017, at 9:28 AM, Vladimir Kozlov <vladimir.kozlov at oracle.com> wrote:
>>
>> http://cr.openjdk.java.net/~kvn/8175516/webrev/
>>
>> Added missing NULL check after JNI call.
>>
>> Thanks,
>> Vladimir
>


More information about the hotspot-compiler-dev mailing list