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

Xue-Lei Andrew Fan xuelei at openjdk.org
Thu May 18 17:50:22 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

Xue-Lei Andrew Fan has updated the pull request incrementally with one additional commit since the last revision:

  compare between int and size_t

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

Changes:
  - all: https://git.openjdk.org/jdk/pull/13995/files
  - new: https://git.openjdk.org/jdk/pull/13995/files/244278a0..ccef71e9

Webrevs:
 - full: https://webrevs.openjdk.org/?repo=jdk&pr=13995&range=04
 - incr: https://webrevs.openjdk.org/?repo=jdk&pr=13995&range=03-04

  Stats: 4 lines in 1 file changed: 0 ins; 0 del; 4 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