> 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) > for hotspot impl, and > [JDK-8299378](https://bugs.openjdk.org/browse/JDK-8299378) for building, but > the test case was not covered. The failure was reported in [PR > 11793](https://github.com/openjdk/jdk/pull/11793#issuecomment-1371151565), > while running tier1 testing. > > This patch is trying to find the use of sprintf in test cases, and replace it > with snprintf accordingly.
Xue-Lei Andrew Fan has updated the pull request incrementally with one additional commit since the last revision: missed update for debug mode ------------- Changes: - all: https://git.openjdk.org/jdk/pull/11935/files - new: https://git.openjdk.org/jdk/pull/11935/files/62a6be82..98c7d3dd Webrevs: - full: https://webrevs.openjdk.org/?repo=jdk&pr=11935&range=02 - incr: https://webrevs.openjdk.org/?repo=jdk&pr=11935&range=01-02 Stats: 14 lines in 6 files changed: 0 ins; 0 del; 14 mod Patch: https://git.openjdk.org/jdk/pull/11935.diff Fetch: git fetch https://git.openjdk.org/jdk pull/11935/head:pull/11935 PR: https://git.openjdk.org/jdk/pull/11935