Integrated: 8299378: sprintf is deprecated in Xcode 14

Xue-Lei Andrew Fan xuelei at openjdk.org
Tue Jan 3 22:47:53 UTC 2023


On Wed, 28 Dec 2022 05:52:27 GMT, Xue-Lei Andrew Fan <xuelei at openjdk.org> wrote:

> The `sprintf` is deprecated in Xcode 14 because of security concerns. The issue was addressed in [JDK-8296812](https://bugs.openjdk.org/browse/JDK-8296812), but the test was not covered. The failure was [reported later](https://github.com/openjdk/jdk/pull/11115#issuecomment-1344973773), while gtest is enabled for building.
> 
> This patch is just to make sure the building could pass.   Other than that, the use of `sprintf` in other places are not touched.

This pull request has now been integrated.

Changeset: 38cfc591
Author:    Xue-Lei Andrew Fan <xuelei at openjdk.org>
URL:       https://git.openjdk.org/jdk/commit/38cfc591725de478879266584280562f0ba4b42f
Stats:     6 lines in 3 files changed: 2 ins; 0 del; 4 mod

8299378: sprintf is deprecated in Xcode 14

Reviewed-by: kbarrett, dholmes

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

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


More information about the hotspot-dev mailing list