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
- Previous message: Pass a pointer to JNI_GetCreatedJavaVMs() instead of null / review please
- Next message: Pass a pointer to JNI_GetCreatedJavaVMs() instead of null / review please
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
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
- Previous message: Pass a pointer to JNI_GetCreatedJavaVMs() instead of null / review please
- Next message: Pass a pointer to JNI_GetCreatedJavaVMs() instead of null / review please
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]