The C99 snprintf is available with Visual Studio 2015 and above, alongside Windows 10 and the UCRT, and is no longer identical to the outdated Windows _snprintf. Since support for the Visual C++ 2017 compiler was removed a while ago, we can now safely remove the compatibility workaround on Windows and have JLI_Snprintf simply delegate to snprintf.
------------- Commit messages: - Remove Windows specific JLI_Snprintf implementation - Remove Windows JLI_Snprintf definition Changes: https://git.openjdk.org/jdk/pull/10625/files Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=10625&range=00 Issue: https://bugs.openjdk.org/browse/JDK-8295017 Stats: 43 lines in 2 files changed: 9 ins; 34 del; 0 mod Patch: https://git.openjdk.org/jdk/pull/10625.diff Fetch: git fetch https://git.openjdk.org/jdk pull/10625/head:pull/10625 PR: https://git.openjdk.org/jdk/pull/10625