mirror of
https://github.com/openjdk/jdk.git
synced 2026-01-28 12:09:14 +00:00
8231930: Windows build fails after JDK-8191521
Reviewed-by: dholmes, clanger
This commit is contained in:
parent
d00fd45b66
commit
c1474ca64b
@ -354,7 +354,7 @@ static void record_path(char const* name, char const* len_name, wchar_t* path) {
|
||||
|
||||
if (convert_to_cstring(buf, JVM_MAXPATHLEN, path)) {
|
||||
::testing::Test::RecordProperty(name, buf);
|
||||
snprintf(buf, JVM_MAXPATHLEN, "%d", (int) wcslen(path));
|
||||
os::snprintf(buf, JVM_MAXPATHLEN, "%d", (int) wcslen(path));
|
||||
::testing::Test::RecordProperty(len_name, buf);
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user