Integrated: 8295017: Remove Windows specific workaround in JLI_Snprintf

Julian Waters jwaters at openjdk.org
Thu Oct 13 23:54:11 UTC 2022


On Sun, 9 Oct 2022 08:03:36 GMT, Julian Waters <jwaters at openjdk.org> wrote:

> 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.

This pull request has now been integrated.

Changeset: 2b4830a3
Author:    Julian Waters <jwaters at openjdk.org>
Committer: David Holmes <dholmes at openjdk.org>
URL:       https://git.openjdk.org/jdk/commit/2b4830a3959496372719270614a58737cf4deb2f
Stats:     36 lines in 2 files changed: 2 ins; 34 del; 0 mod

8295017: Remove Windows specific workaround in JLI_Snprintf

Reviewed-by: dholmes

-------------

PR: https://git.openjdk.org/jdk/pull/10625


More information about the hotspot-dev mailing list