RFR: 8303527: update for deprecated sprintf for jdk.hotspot.agent [v2]

Xue-Lei Andrew Fan xuelei at openjdk.org
Thu Mar 2 23:13:44 UTC 2023


> Hi,
> 
> May I have this update reviewed?
> 
> 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 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 jdk.hotspot.agent module.
> 
> Thanks,
> Xuelei

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

 - one more correction
 - correct mistakes

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

Changes:
  - all: https://git.openjdk.org/jdk/pull/12837/files
  - new: https://git.openjdk.org/jdk/pull/12837/files/4990fb1b..c9c17d9e

Webrevs:
 - full: https://webrevs.openjdk.org/?repo=jdk&pr=12837&range=01
 - incr: https://webrevs.openjdk.org/?repo=jdk&pr=12837&range=00-01

  Stats: 1 line in 1 file changed: 0 ins; 0 del; 1 mod
  Patch: https://git.openjdk.org/jdk/pull/12837.diff
  Fetch: git fetch https://git.openjdk.org/jdk pull/12837/head:pull/12837

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


More information about the serviceability-dev mailing list