Pass a pointer to JNI_GetCreatedJavaVMs() instead of null / review please

Kumar Srinivasan kumar.x.srinivasan at oracle.COM
Tue May 8 14:25:33 UTC 2012


Hi Alan, David, Vitaly,

Ok I will make these changes and push.

Thanks
Kumar

> On 07/05/2012 21:21, Kumar Srinivasan wrote:
>> Hi,
>>
>> Please review
>>
>> http://cr.openjdk.java.net/~ksrini/7166955 
> I think the check needs to be:
>
> if (retval < 0 || nVM != 1)
>
> (checking if retval == JNI_OK is okay too but amounts to the same thing).
>
> -Alan





More information about the core-libs-dev mailing list