changeset 9694:9c096a2401fa

8047777: (process) ProcessEnvironment_md.c not compiling on 8uX Reviewed-by: chegar
author coffeys
date Sun, 22 Jun 2014 23:15:50 +0100
parents f12dc751420f
children 5c0406ee9e82 3258ec1855ef
files src/windows/native/java/lang/ProcessEnvironment_md.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/windows/native/java/lang/ProcessEnvironment_md.c	Fri Jun 20 20:17:11 2014 +0100
+++ b/src/windows/native/java/lang/ProcessEnvironment_md.c	Sun Jun 22 23:15:50 2014 +0100
@@ -41,7 +41,7 @@
     CHECK_NULL_RETURN(string_class, NULL);
     String_init_ID =
         (*env)->GetMethodID(env, string_class, "<init>", "([B)V");
-    CHECK_NULL_RETURN(String_init_ID);
+    CHECK_NULL_RETURN(String_init_ID, NULL);
     blockA = (jbyte *) GetEnvironmentStringsA();
     if (blockA == NULL) {
         /* Both GetEnvironmentStringsW and GetEnvironmentStringsA