--- old/hotspot/src/os/bsd/vm/os_bsd.cpp 2014-02-11 11:23:37.018501636 -0800 +++ new/hotspot/src/os/bsd/vm/os_bsd.cpp 2014-02-11 11:23:36.918501632 -0800 @@ -1834,7 +1834,7 @@ jrelib_p = buf + len; snprintf(jrelib_p, buflen-len, "/%s", COMPILER_VARIANT); if (0 != access(buf, F_OK)) { - snprintf(jrelib_p, buflen-len, ""); + snprintf(jrelib_p, buflen-len, "%s", ""); } // If the path exists within JAVA_HOME, add the JVM library name