Integrated: 8365940: Misleading macro in jvm_md.h:57

Matias Saavedra Silva matsaave at openjdk.org
Mon Nov 3 16:37:24 UTC 2025


On Wed, 29 Oct 2025 19:27:29 GMT, Matias Saavedra Silva <matsaave at openjdk.org> wrote:

> The macro `JVM_MAXPATHLEN` should expand to the result of `MAXPATHLEN + 1` as the original result may lead to a different value when using the macro as part of an expression. Verified with tier 1-5 tests.

This pull request has now been integrated.

Changeset: 1922c4fd
Author:    Matias Saavedra Silva <matsaave at openjdk.org>
URL:       https://git.openjdk.org/jdk/commit/1922c4fd6f10e6eac121462d509d6990ae4f9acd
Stats:     1 line in 1 file changed: 0 ins; 0 del; 1 mod

8365940: Misleading macro in jvm_md.h:57

Reviewed-by: dholmes, kbarrett

-------------

PR: https://git.openjdk.org/jdk/pull/28049


More information about the hotspot-runtime-dev mailing list