mirror of
https://github.com/openjdk/jdk.git
synced 2026-01-28 12:09:14 +00:00
8208084: Windows build failure - "'snprintf': identifier not found"
Reviewed-by: kbarrett, coleenp
This commit is contained in:
parent
10592b0d36
commit
d86f3a8cb2
@ -125,7 +125,7 @@ public:
|
||||
|
||||
// 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";
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user