Integrated: 8296812: sprintf is deprecated in Xcode 14
Xue-Lei Andrew Fan
xuelei at openjdk.org
Fri Dec 9 22:41:54 UTC 2022
On Fri, 11 Nov 2022 22:41:19 GMT, Xue-Lei Andrew Fan <xuelei at openjdk.org> wrote:
> 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
This pull request has now been integrated.
Changeset: 478ef389
Author: Xue-Lei Andrew Fan <xuelei at openjdk.org>
URL: https://git.openjdk.org/jdk/commit/478ef389dc3767edfbe21d10a7f7f1522c648c2e
Stats: 145 lines in 26 files changed: 45 ins; 4 del; 96 mod
8296812: sprintf is deprecated in Xcode 14
Reviewed-by: stuefe, prr, kbarrett, lucy
-------------
PR: https://git.openjdk.org/jdk/pull/11115
More information about the hotspot-dev
mailing list