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)/[JDK-8299378](https://bugs.openjdk.org/browse/JDK-8299378)/[JDK-8299635](https://bugs.openjdk.org/browse/JDK-8299635), but the test was not fully covered yet. This would be the last effort to fix the issue in test.
------------- Commit messages: - 8301132: Test update for deprecated sprintf in Xcode 14 Changes: https://git.openjdk.org/jdk/pull/12211/files Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=12211&range=00 Issue: https://bugs.openjdk.org/browse/JDK-8301132 Stats: 8 lines in 2 files changed: 2 ins; 0 del; 6 mod Patch: https://git.openjdk.org/jdk/pull/12211.diff Fetch: git fetch https://git.openjdk.org/jdk pull/12211/head:pull/12211 PR: https://git.openjdk.org/jdk/pull/12211