1--- a/hotspot/src/os/linux/vm/os_linux.cpp 2017-07-04 23:09:02.533972226 -0400
2+++ b/hotspot/src/os/linux/vm/os_linux.cpp 2017-07-04 23:07:52.118338845 -0400
3@@ -2318,10 +2318,7 @@
4 assert(ret, "cannot locate libjvm");
5 char *rp = NULL;
6 if (ret && dli_fname[0] != '\0') {
7- rp = realpath(dli_fname, buf);
8- }
9- if (rp == NULL) {
10- return;
11+ snprintf(buf, buflen, "%s", dli_fname);
12 }
13
14 if (Arguments::sun_java_launcher_is_altjvm()) {