RFR: 8296812: sprintf is deprecated in Xcode 14 [v9]

Xue-Lei Andrew Fan xuelei at openjdk.org
Fri Nov 18 06:42:24 UTC 2022


> Hi,
> 
> May I have this update reviewed?
> 
> The sprintf is deprecated in Xcode 14 because of security concerns, and the use of it causing building failure.  The build could pass if warnings are disabled for codes that use sprintf method.  For the long run, the sprintf could be replaced with snprintf.  This patch is trying to check if snprintf could be used.
> 
> Thanks,
> Xuelei

Xue-Lei Andrew Fan has updated the pull request incrementally with one additional commit since the last revision:

  size_t cast

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

Changes:
  - all: https://git.openjdk.org/jdk/pull/11115/files
  - new: https://git.openjdk.org/jdk/pull/11115/files/dcd7a8df..59a87dd1

Webrevs:
 - full: https://webrevs.openjdk.org/?repo=jdk&pr=11115&range=08
 - incr: https://webrevs.openjdk.org/?repo=jdk&pr=11115&range=07-08

  Stats: 38 lines in 18 files changed: 0 ins; 0 del; 38 mod
  Patch: https://git.openjdk.org/jdk/pull/11115.diff
  Fetch: git fetch https://git.openjdk.org/jdk pull/11115/head:pull/11115

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



More information about the client-libs-dev mailing list