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

Seán Coffey sean.coffey at oracle.com
Sun Jun 22 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/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