On Mon, 14 Nov 2022 05:32:20 GMT, Xue-Lei Andrew Fan <[email protected]> wrote:

>> Hi,
>> 
>> May I have this update reviewed?
>> 
>> The sprintf is deprecated in Xcode 14 because of security concerns, and the 
>> use of it causing building failure.  The build could pass if warnings are 
>> disabled for codes that use sprintf method.  For the long run, the sprintf 
>> could be replaced with snprintf.  This patch is trying to check if snprintf 
>> could be used.
>> 
>> Thanks,
>> Xuelei
>
> Xue-Lei Andrew Fan has updated the pull request incrementally with one 
> additional commit since the last revision:
> 
>   include missing os head file

Kim said:
> As a general note, as a reviewer my preference is against non-trivial and 
> persnickety code changes that are scattered all over the code base. For 
> something like this I'd prefer multiple more bite-sized changes that were 
> dealing with specific uses. I doubt everyone agrees with me though.

There's a lot of wisdom in what you say. It's far too easy to mess things up 
when doing cleanups for compiler warnings. Also, long patches never get enough 
reviewing.

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

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

Reply via email to