at master 516 B view raw
1--- a/hotspot/src/os/linux/vm/os_linux.cpp 2015-02-04 21:14:39.000000000 +0100 2+++ b/hotspot/src/os/linux/vm/os_linux.cpp 2015-05-19 16:17:29.960107613 +0200 3@@ -2304,10 +2304,8 @@ 4 assert(ret, "cannot locate libjvm"); 5 char *rp = NULL; 6 if (ret && dli_fname[0] != '\0') { 7- rp = realpath(dli_fname, buf); 8+ snprintf(buf, buflen, "%s", dli_fname); 9 } 10- if (rp == NULL) 11- return; 12 13 if (Arguments::created_by_gamma_launcher()) { 14 // Support for the gamma launcher. Typical value for buf is 15