# HG changeset patch # User shade # Date 1570453224 -7200 # Node ID 74094a60d0187d98750b6d23c6ccfe31eed34422 # Parent b1da055915efc77b83ac157bb2cc77de4715e7ba 8231930: Windows build fails after JDK-8191521 Reviewed-by: dholmes, clanger diff -r b1da055915ef -r 74094a60d018 test/hotspot/gtest/runtime/test_os_windows.cpp --- a/test/hotspot/gtest/runtime/test_os_windows.cpp Mon Oct 07 13:32:44 2019 +0100 +++ b/test/hotspot/gtest/runtime/test_os_windows.cpp Mon Oct 07 15:00:24 2019 +0200 @@ -354,7 +354,7 @@ 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); } }