From f661c9cab1ba8b84541f1b165c1922df3f410067 Mon Sep 17 00:00:00 2001 From: Peter Shipton Date: Wed, 9 Oct 2024 16:11:35 -0400 Subject: [PATCH] Disable use of zlibNX by default Issue https://github.com/eclipse-openj9/openj9/issues/20324 Signed-off-by: Peter Shipton --- jdk/src/solaris/bin/java_md_solinux.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/jdk/src/solaris/bin/java_md_solinux.c b/jdk/src/solaris/bin/java_md_solinux.c index 0bf88d9ed39..4b6ff5f24ce 100644 --- a/jdk/src/solaris/bin/java_md_solinux.c +++ b/jdk/src/solaris/bin/java_md_solinux.c @@ -25,7 +25,7 @@ /* * =========================================================================== - * (c) Copyright IBM Corp. 2020, 2023 All Rights Reserved + * (c) Copyright IBM Corp. 2020, 2024 All Rights Reserved * =========================================================================== */ @@ -553,7 +553,7 @@ CreateExecutionEnvironment(int *pargc, char ***pargv, * o $JVMPATH (directory portion only) * o $JRE/lib/$LIBARCHNAME * o $JRE/../lib/$LIBARCHNAME - * o ZLIBNX_PATH (for AIX P9 or newer systems with NX, unless -XX:-UseZlibNX is set) + * o ZLIBNX_PATH (for AIX P9 or newer systems with NX, when enabled) * * followed by the user's previous effective LD_LIBRARY_PATH, if * any. @@ -563,7 +563,7 @@ CreateExecutionEnvironment(int *pargc, char ***pargv, int aixargc = *pargc - 1; // skip the launcher name char **aixargv = *pargv + 1; const char *aixarg = NULL; - jboolean useZlibNX = JNI_TRUE; + jboolean useZlibNX = JNI_FALSE; while (aixargc > 0 && *(aixarg = *aixargv) == '-') { if (JLI_StrCmp(aixarg, "-XX:+UseZlibNX") == 0) { useZlibNX = JNI_TRUE;