at master 417 B view raw
1--- a/src/hotspot/os/linux/os_linux.cpp 2025-04-08 14:43:06.765198522 +0200 2+++ b/src/hotspot/os/linux/os_linux.cpp 2025-04-08 14:43:27.890301990 +0200 3@@ -2758,9 +2758,7 @@ 4 assert(ret, "cannot locate libjvm"); 5 char *rp = nullptr; 6 if (ret && dli_fname[0] != '\0') { 7- rp = os::realpath(dli_fname, buf, buflen); 8- } 9- if (rp == nullptr) { 10+ snprintf(buf, buflen, "%s", dli_fname); 11 return; 12 } 13