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

Alan Bateman Alan.Bateman at oracle.com
Tue May 8 08:29:27 UTC 2012


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