mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-29 02:13:23 +00:00
82c294f13a
Uses temurin-bin-20 to bootstrap, as temurin-bin-21 hasn't been released yet
15 lines
474 B
Diff
15 lines
474 B
Diff
--- a/src/hotspot/os/linux/os_linux.cpp 2017-07-04 23:09:02.533972226 -0400
|
|
+++ b/src/hotspot/os/linux/os_linux.cpp 2017-07-04 23:07:52.118338845 -0400
|
|
@@ -2270,8 +2270,5 @@
|
|
assert(ret, "cannot locate libjvm");
|
|
char *rp = nullptr;
|
|
if (ret && dli_fname[0] != '\0') {
|
|
- rp = os::Posix::realpath(dli_fname, buf, buflen);
|
|
- }
|
|
- if (rp == nullptr) {
|
|
- return;
|
|
+ snprintf(buf, buflen, "%s", dli_fname);
|
|
}
|
|
|
|
if (Arguments::sun_java_launcher_is_altjvm()) {
|