RFR : 8047777: Build broken: ProcessEnvironment_md.c not compiling (original) (raw)

Chris Hegarty chris.hegarty at oracle.com
Sun Jun 22 18:59:15 UTC 2014


Reviewed.

-Chris

On 22 Jun 2014, at 19:18, Seán Coffey <sean.coffey at oracle.com> wrote:

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/ProcessEnvironmentmd.c +++ b/src/windows/native/java/lang/ProcessEnvironmentmd.c @@ -41,7 +41,7 @@ CHECKNULLRETURN(stringclass, NULL); StringinitID = (*env)->GetMethodID(env, stringclass, "", "([B)V"); - CHECKNULLRETURN(StringinitID); + CHECKNULLRETURN(StringinitID, NULL); blockA = (jbyte *) GetEnvironmentStringsA(); if (blockA == NULL) { /* Both GetEnvironmentStringsW and GetEnvironmentStringsA regards, Sean.



More information about the core-libs-dev mailing list