From f5fcfc51a1f3840485268cd321aa8c051b7cac02 Mon Sep 17 00:00:00 2001 From: Peter Shipton Date: Wed, 9 Oct 2024 15:48:30 -0400 Subject: [PATCH] Disable use of zlibNX by default Issue https://github.com/eclipse-openj9/openj9/issues/20324 Signed-off-by: Peter Shipton --- src/java.base/unix/native/libjli/java_md.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/java.base/unix/native/libjli/java_md.c b/src/java.base/unix/native/libjli/java_md.c index 7cde49ddaf6..f6722e08101 100644 --- a/src/java.base/unix/native/libjli/java_md.c +++ b/src/java.base/unix/native/libjli/java_md.c @@ -25,7 +25,7 @@ /* * =========================================================================== - * (c) Copyright IBM Corp. 2020, 2023 All Rights Reserved + * (c) Copyright IBM Corp. 2020, 2024 All Rights Reserved * =========================================================================== */ @@ -385,7 +385,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;