8030350: Enable additional compiler warnings for GCC

Reviewed-by: dholmes, coleenp, erikj, tbell, ihse
This commit is contained in:
Mike Duigou 2014-02-12 09:37:18 -08:00
parent a752b0b503
commit b633a889a7
4 changed files with 5 additions and 5 deletions

View file

@ -1834,7 +1834,7 @@ void os::jvm_path(char *buf, jint buflen) {
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