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

Chris Plummer cjplummer at openjdk.org
Fri Mar 3 00:44:04 UTC 2023


On Thu, 2 Mar 2023 23:13:44 GMT, Xue-Lei Andrew Fan <xuelei at openjdk.org> wrote:

>> 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

You will need to update the copyright in src/jdk.hotspot.agent/linux/native/libsaproc/ps_proc.c

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

Changes requested by cjplummer (Reviewer).

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


More information about the serviceability-dev mailing list