[jdk11u-dev] RFR: 8299378: sprintf is deprecated in Xcode 14

Antonio Vieiro duke at openjdk.org
Wed Jul 10 20:29:28 UTC 2024


Clean backport of [JDK-8299378](https://bugs.openjdk.org/browse/JDK-8299378), as applied to 17.

This replaces the deprecated `sprintf` with `os::snprintf_checked` in more places, for the build to progress in the new macos-13 GHA.

The build will still fail until all remaining backports replace `sprintf`in all places of the codebase.

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

Depends on: https://git.openjdk.org/jdk11u-dev/pull/2846

Commit messages:
 - Backport 8d974eacf19b206978910f50a09bf68767ab9765

Changes: https://git.openjdk.org/jdk11u-dev/pull/2848/files
  Webrev: https://webrevs.openjdk.org/?repo=jdk11u-dev&pr=2848&range=00
  Issue: https://bugs.openjdk.org/browse/JDK-8299378
  Stats: 5 lines in 2 files changed: 2 ins; 0 del; 3 mod
  Patch: https://git.openjdk.org/jdk11u-dev/pull/2848.diff
  Fetch: git fetch https://git.openjdk.org/jdk11u-dev.git pull/2848/head:pull/2848

PR: https://git.openjdk.org/jdk11u-dev/pull/2848


More information about the jdk-updates-dev mailing list