Skip to content

Commit

Permalink
Disable use of zlibNX by default
Browse files Browse the repository at this point in the history
Issue eclipse-openj9/openj9#20324

Signed-off-by: Peter Shipton <Peter_Shipton@ca.ibm.com>
  • Loading branch information
pshipton committed Oct 9, 2024
1 parent 2aacbe5 commit 74cfd5d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/java.base/unix/native/libjli/java_md.c
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@

/*
* ===========================================================================
* (c) Copyright IBM Corp. 2020, 2023 All Rights Reserved
* (c) Copyright IBM Corp. 2020, 2024 All Rights Reserved
* ===========================================================================
*/

Expand Down Expand Up @@ -386,7 +386,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;
Expand Down

0 comments on commit 74cfd5d

Please sign in to comment.