mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-26 06:14:49 +02:00
8030350: Enable additional compiler warnings for GCC
Reviewed-by: dholmes, coleenp, erikj, tbell, ihse
This commit is contained in:
parent
a752b0b503
commit
b633a889a7
4 changed files with 5 additions and 5 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue