From 8f488fa1c9ef392da3bcebfc2fa510a17750c619 Mon Sep 17 00:00:00 2001 From: Matias Saavedra Silva Date: Wed, 29 Oct 2025 15:24:34 -0400 Subject: [PATCH] 8365940: Misleading macro in jvm_md.h:57 --- src/hotspot/os/posix/include/jvm_md.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/hotspot/os/posix/include/jvm_md.h b/src/hotspot/os/posix/include/jvm_md.h index e550ecbb000dd..469738d01eb58 100644 --- a/src/hotspot/os/posix/include/jvm_md.h +++ b/src/hotspot/os/posix/include/jvm_md.h @@ -54,7 +54,7 @@ // cause problems if JVM and the rest of JDK are built on different // Linux releases. Here we define JVM_MAXPATHLEN to be MAXPATHLEN + 1, // so buffers declared in VM are always >= 4096. -#define JVM_MAXPATHLEN MAXPATHLEN + 1 +#define JVM_MAXPATHLEN (MAXPATHLEN + 1) #endif #define JVM_R_OK R_OK