RFR: 8308071: [REDO] update for deprecated sprintf for src/utils

Xue-Lei Andrew Fan xuelei at openjdk.org
Mon May 15 20:11:46 UTC 2023


Hi,

This is a redo of JDK-8307855, where issues were found after integration.

The sprintf is deprecated in Xcode 14, and Microsoft Virtual Studio, because of security concerns. The issue was addressed in [JDK-8296812](https://bugs.openjdk.org/browse/JDK-8296812) for building failure, and [JDK-8299378](https://bugs.openjdk.org/browse/JDK-8299378)/[JDK-8299635](https://bugs.openjdk.org/browse/JDK-8299635)/[JDK-8301132](https://bugs.openjdk.org/browse/JDK-8301132) for testing issues . This is a break-down update for sprintf uses in the src/utils directory.

Thanks,
Xuelei

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

Commit messages:
 - 8308071: [REDO] update for deprecated sprintf for src/utils

Changes: https://git.openjdk.org/jdk/pull/13995/files
 Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=13995&range=00
  Issue: https://bugs.openjdk.org/browse/JDK-8308071
  Stats: 22 lines in 1 file changed: 17 ins; 0 del; 5 mod
  Patch: https://git.openjdk.org/jdk/pull/13995.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/13995/head:pull/13995

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



More information about the build-dev mailing list