mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-06-11 12:15:34 +03:00
13 lines
417 B
Diff
13 lines
417 B
Diff
--- a/src/hotspot/os/linux/os_linux.cpp 2025-04-08 14:43:06.765198522 +0200
|
|
+++ b/src/hotspot/os/linux/os_linux.cpp 2025-04-08 14:43:27.890301990 +0200
|
|
@@ -2758,9 +2758,7 @@
|
|
assert(ret, "cannot locate libjvm");
|
|
char *rp = nullptr;
|
|
if (ret && dli_fname[0] != '\0') {
|
|
- rp = os::realpath(dli_fname, buf, buflen);
|
|
- }
|
|
- if (rp == nullptr) {
|
|
+ snprintf(buf, buflen, "%s", dli_fname);
|
|
return;
|
|
}
|
|
|