RFR : 8047777: Build broken: ProcessEnvironment_md.c not compiling

Seán Coffey sean.coffey at oracle.com
Sun Jun 22 18:18:29 UTC 2014


The JDK-8036603 fix pushed on Friday broke windows builds. Bad macro 
call. Simple fix :
https://bugs.openjdk.java.net/browse/JDK-8047777
applicable to jdk8u-dev only.

> --- a/src/windows/native/java/lang/ProcessEnvironment_md.c
> +++ b/src/windows/native/java/lang/ProcessEnvironment_md.c
> @@ -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

regards,
Sean.



More information about the core-libs-dev mailing list