RFR: 8295017: Remove Windows specific workaround in JLI_Snprintf [v2]

Julian Waters jwaters at openjdk.org
Sun Oct 9 08:17:15 UTC 2022


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

Julian Waters has updated the pull request incrementally with one additional commit since the last revision:

  Comment formatting

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

Changes:
  - all: https://git.openjdk.org/jdk/pull/10625/files
  - new: https://git.openjdk.org/jdk/pull/10625/files/d021c774..35de1467

Webrevs:
 - full: https://webrevs.openjdk.org/?repo=jdk&pr=10625&range=01
 - incr: https://webrevs.openjdk.org/?repo=jdk&pr=10625&range=00-01

  Stats: 4 lines in 1 file changed: 1 ins; 0 del; 3 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


More information about the core-libs-dev mailing list