OpenJDK / jdk / jdk
changeset 51262:d4b9a434af84
8208084: Windows build failure - "'snprintf': identifier not found"
Reviewed-by: kbarrett, coleenp
author | mvala |
---|---|
date | Mon, 30 Jul 2018 14:08:30 -0400 |
parents | 0a4916c1418c |
children | b5aac518b097 |
files | test/hotspot/gtest/classfile/test_symbolTable.cpp |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/test/hotspot/gtest/classfile/test_symbolTable.cpp Mon Jul 30 14:22:36 2018 -0400 +++ b/test/hotspot/gtest/classfile/test_symbolTable.cpp Mon Jul 30 14:08:30 2018 -0400 @@ -125,7 +125,7 @@ // Find a symbol where there will probably be only one instance. for (int i = 0; i < 100; i++) { - snprintf(symbol_name, SYM_NAME_LENGTH, "some_symbol%d", i); + os::snprintf(symbol_name, SYM_NAME_LENGTH, "some_symbol%d", i); TempNewSymbol ts = SymbolTable::new_symbol(symbol_name, CATCH); if (ts->refcount() == 1) { EXPECT_TRUE(ts->refcount() == 1) << "Symbol is just created";